I think it's really cool that Python has a healthy third-party interpreter community. PyPy, IronPython, Jython, and now RustPython expand Python's accessibility. It's very cool to see how many people are working on this, and I wonder what kind of problems with CPython this has exposed also.
I wonder if anyone actually uses those third-party interpreters for anything serious. I've never come across anyone that did.
RustPython
31–40 of 244 posts
Re: RustPython
#32I think it's really cool that Python has a healthy third-party interpreter community. PyPy, IronPython, Jython, and now RustPython expand Python's accessibility. It's very cool to see how many people are working on this, and I wonder what kind of problems with CPython this has exposed also.
I wonder if anyone actually uses those third-party interpreters for anything serious. I've never come across anyone that did.
Re: RustPython
#33Re: RustPython
#34Pretty cool, especially the potential for using python as a scripting language embedded in rust programs. That said, python makes me wince.
Working on a significant C++ code base (shipped as deb, rpm and windows binaries) and wanting to allow some means to customize busyness logic we decided to integrate Python hooks, a couple of years ago. In hindsight, I'd call that decision a mixed blessing. The code level integration (pybind11) was nice and easy, the issues came later. We found operational problems (multithreading), performance (in particular initial…
Re: RustPython
#35Pretty cool, especially the potential for using python as a scripting language embedded in rust programs. That said, python makes me wince.
I was recently looking for some ways to make a rust project dynamically configurable. Yaml/toml/etc are too static or are terrible to describe logic in (yet we do it all the time for CI, infra etc, ugh). WASM would be an option, but overengineered for my case. Ruby (through Artichoke), or Python (through RustPython); but they come with the downside of introducing Ruby or Python. I haven't decided yet, but would prefe…
Though Lua probably has lots of good and feature rich examples as well.
Can't speak at all to Ruby or Python integrations.
In the end, I'd suggest it depends on your audience and what existing skills or biases they're likely to bring to the table.
My one warning is that I've used software that integrated JS and it hasn't aged well. From the Adobe products with ExtendScript to other, older and incompatible JS engines before ES5 even, don't get locked into something difficult to update and keep current.
Re: RustPython
#36Pretty cool, especially the potential for using python as a scripting language embedded in rust programs. That said, python makes me wince.
Why does it make you wince?
Do I:
python? python3? pip install? pip3 install? python pip install? python pip3 install? python3 pip install? python3 pip3 install?
And then everyone mentions "oh just use venv" or "conda" or docker or... It just never ends or it never clearly explains what to do. And all I want to do is run a relatively simple script. Or course I would use a docker image to run a more complex app. But it's frustratingly hard to manage for people who don't use it often.
I'm from a java/Kotlin world where things aren't perfect either. But at least dependencies are clearly defined, and the only thing you need is Gradle that updates itself through a wrapper script if needed and pulls all dependencies. And a JVM/JDK which is also configured/installed quite clearly in a specific location.
Re: RustPython
#37Pretty cool, especially the potential for using python as a scripting language embedded in rust programs. That said, python makes me wince.
Working on a significant C++ code base (shipped as deb, rpm and windows binaries) and wanting to allow some means to customize busyness logic we decided to integrate Python hooks, a couple of years ago. In hindsight, I'd call that decision a mixed blessing. The code level integration (pybind11) was nice and easy, the issues came later. We found operational problems (multithreading), performance (in particular initial…
Re: RustPython
#38Earlier quoted context omitted.
I've used all kinds of hand tools and cooking utensils that were terrible and made me wince or experience other discomfort as I used them
It's completely fair enough to argue that a language/tools is a bad at what it is made to do, but this needs to be pared out from tool choice . A baking spatula makes a bad cooking spatula. It's pliable and can easily scrape the curved surface of a bowl, but for flipping a fried egg it is hopeless - in a pinch it will work - but it would be nice to have something rigid. Further, describing it as making you "wince" is…
Re: RustPython
#39Earlier quoted context omitted.
The infamous MMO game EVE uses Stackless Python.. and the players certainly seem to take it very seriously.
why infamous?
- https://www.pcgamer.com/inside-the-biggest-heist-in-eve-onli...
- https://www.mmorpg.com/news/an-eve-online-player-has-pulled-...
- https://www.escapistmagazine.com/the-infamous-eve-online-ban...
Re: RustPython
#40One of the things that turned me off of C#'s Blazor WASM was the payload size. I've found some of Rust's offerings like yew and leptos more interesting.