Skip to content

Comment on OCaml 4.03 will, “if all goes well”, support multicoreparent

Comments

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.