News for hackers. Stuff that matters.
Re:I love building a startup in Rust. I wouldn't pick it again by ameliaquining on Friday February 17, 2023 @05:01PM (#34841196)
Rust can output library files that use the C calling convention, either static or dynamic. Doing this entirely by hand is pretty annoying, because your API surface has to be C-compatible (so can't contain a lot of Rust's useful language features) and because you still have to do the other half of the FFI to use the library from the other language. However, it's possible to develop automated language-specific tooling to make this easier, with PyO3 being a particularly impressive example.

There are no comments on this comment yet.