Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> OCaml and Rust aren't going to interface with Python nearly as well.

I don't know about OCaml, but Rust (supposedly) will interface perfectly fine with anything providing a C API (which includes Python, along with quite a few other scripting languages from that era, like Perl and Ruby). Rust's ABI-compatibility with C is one of the primary selling points.

I don't know off the top of my head if anyone's tried writing Python extensions in Rust, but I don't see why it wouldn't be possible to do so with at least as much capability (if not more) as C/C++.



https://www.youtube.com/watch?v=3CwJ0MH-4MA

The talk above was on the front page last week some time and describes one method to write Python extensions in rust.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: