RustPython
rustpython.github.io
RustPython
1–10 of 244 posts
Re: RustPython
#2Re: RustPython
#3Re: RustPython
#4I 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.
Re: RustPython
#5Re: RustPython
#6Re: RustPython
#7Pretty cool, especially the potential for using python as a scripting language embedded in rust programs. That said, python makes me wince.
Re: RustPython
#8Pretty cool, especially the potential for using python as a scripting language embedded in rust programs. That said, python makes me wince.
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 prefer Lua for it's simplicity. Or JavaScript (a subset) for how easy it can be limited in scope.
Are there any (example) rust programs out there that have embedded scripting, or runtime plugins or addons in a scripting language?
Re: RustPython
#9Pretty cool, especially the potential for using python as a scripting language embedded in rust programs. That said, python makes me wince.
The code level integration (pybind11) was nice and easy, the issues came later. We found operational problems (multithreading), performance (in particular initialization) and worst: memory leaks and crashes on python VM teardown. Another problem was that python has it's own particular ideas about package management than generally don't rhyme with packages from the OS vendor.
I'm not sure what the angle is in this project, but I don't see a happy ending for projects that rely on both pip and cargo when it comes to maintenance and long-term support except for source-level integration. That is, unless there is some well designed and well thought out strategy to combine Rust and Python worlds that doesn't conflict with the RPM or apt view of doing things.
Re: RustPython
#10Pretty 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…