Live data from Hacker News

RustPython

rustpython.github.io

11–20 of 244 posts

Re: RustPython

#11

Pretty cool, especially the potential for using python as a scripting language embedded in rust programs. That said, python makes me wince.

I think it's very naive for a programming language to make you "wince", tools are tools.

Re: RustPython

#12
post #11

Pretty cool, especially the potential for using python as a scripting language embedded in rust programs. That said, python makes me wince.

I think it's very naive for a programming language to make you "wince", tools are tools.

Agree, would like to know more context

Re: RustPython

#13
post #4

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.

At least PyPy sees real production use.

Re: RustPython

#15
post #8

Pretty 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…

There's Rhai - https://rhai.rs/

Re: RustPython

#16
post #11

Pretty cool, especially the potential for using python as a scripting language embedded in rust programs. That said, python makes me wince.

I think it's very naive for a programming language to make you "wince", tools are tools.

Have you ever used pip?

Re: RustPython

#17
Does it allow sandboxing, or is Lua still the only good option for that?

There are so many cases where you'd rather not give extension scripts unlimited access to the OS and file system, you'd think this option would be more common...

Re: RustPython

#18
post #4

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.

PyPy is one of the most underrated python implementation. It just makes your pure python code 20x faster without needing to change anything ( if you don't have c++. Extension depends) We had used PyPy in production , especially on Real-time/ asynchronous web apis that doesn't need machine learning stack

Re: RustPython

#20
post #8

Pretty 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…

There's a bunch of scripting languages written in rust that targets "embed-in-rust", for example

https://crates.io/crates/rhai

https://crates.io/crates/dyon

https://crates.io/crates/duckscript

You can use the above links to browse crate "dependents", that is other crates using these dependencies if you are looking for example usage.

Post reply on HN