inline-python
swift
inline-python | swift | |
---|---|---|
6 | 230 | |
1,217 | 69,000 | |
0.1% | 0.2% | |
8.3 | 10.0 | |
2 months ago | 3 days ago | |
Rust | C++ | |
BSD 2-clause "Simplified" License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
inline-python
-
Why Ruby on Rails still matters
If you're willing to go the meta programming route, Rust is pretty flexible too. You can literally run python inline using macros.[1]
In my experience as someone that has been using Rust for a few years (and enjoys writing Rust) the biggest issue regarding adoption is that async Rust just isn't there yet when it comes to user experience.[2]
It works fine if you don't deviate from the simple stuff, but once you need to start writing your own Futures or custom locks it gets to a point that you REALLY need to understand Rust and its challenging type system.
[1] - https://github.com/m-ou-se/inline-python
-
What are the scenarios where "Rewrite it in Rust" didn't meet your expectations or couldn't be successfully implemented?
This may be cursed but you could just use https://github.com/fusion-engineering/inline-python to use the Python Levensthein library in Rust directly. Just make sure to invoke the Rust binary under a venv with the library
-
Is rust overkill for most back-end apps that could be done quickly by NodeJS or PHP?
I know the OP asked about Node/PHP but for Python, there is https://github.com/fusion-engineering/inline-python which can give you both Rust and the all-the-libraries experience.
-
Ergonomic inline SQL as a Python library
Inspired by past work: LINQ, inline-python, crepe, DataScript, Riffle.
- Inline Python code directly in your Rust code
-
Guys help, I've been stuck on the borrow checker boss stage for more than 20 hours now
And if that doesn't work, there's always inline-python.
swift
-
Sprinkling Self-Doubt on ChatGPT
I had a very similar thought (which I removed from the final draft)
Yesterday without searching this prompt was able to speculate that my query about static vars on Swift actors was a sign of an underlying compiler bug.
Turns out, it WAS a compiler bug and fixed back in February. I have never found a compiler bug and I'm a Swift noob, but I was pretty impressed. (It's what led me to write this post) https://github.com/swiftlang/swift/issues/78435
- Carbon Language: An experimental successor to C++
-
jank Is C++
> which is 3 months old and has 0 stars (and so I assume 0 users and 0 years of battle testing)
ah my bad i meant to link to this one https://github.com/scrossuk/llvm-abi
which inspired the gsoc.
> is there really a _better_ option which exists today?
today the "best in class" approach is swift's which fully (well tries to) model cpp AST and do what i suggested (emitting code directly):
https://github.com/swiftlang/swift/blob/c09135b8f30c0cec8f5f...
- US vs. Google Amicus Curiae Brief of Y Combinator in Support of Plaintiffs [pdf]
- Constantly Divisionless Random Numbers
- The Next Chapter in Swift Build Technologies
-
The Mobile Development Tech Stack for 2025
Swift Official Website
- macOS Sequoia is certified to Unix 03
-
Swift Deployments: Are they Swift or Recklessly Rushed?
When it comes to the Swift programming language, the Swiftlang/Swift repository is like a code factory that never sleeps, churning out updates with the kind of precision that would make any developer jealous.
-
Learning Swift: The Basics of iOS Development
Open Source: Swift is open source, meaning it's free to use and has a growing community. You can find the source code, as well as many resources and discussions on Swift.org.
What are some alternatives?
midi-to-keypress - Takes MIDI input and turns it into keypresses
solidity - Solidity, the Smart Contract Programming Language
diesel-async
swift-evolution - This maintains proposals for changes and user-visible enhancements to the Swift Programming Language.
aerospike-client-rust - Rust client for the Aerospike database
sourcekit-lsp - Language Server Protocol implementation for Swift and C-based languages