|
|
|
|
|
by ssokolow
1037 days ago
|
|
That's actually one of my reasons for writing in Rust whenever possible. The Rust ecosystem has a broad collection of tooling for using Rust to extend other languages, so there's minimal chance something I wrote in Rust will have to be rewritten to use it in a project in another language. See https://www.hobofan.com/rust-interop/ and https://areweextendingyet.github.io/ In Python's case, there's also maturin, which aims to make building and publishing Rust-based wheels as easy as Cargo makes doing so for Rust-based crates. ...plus, in the worst case, Rust CLI tools start very quickly, so forking a Rust process for poor man's FFI is more viable, and Serde plus a JSON Schema generator like schemars will streamline microservice-based options. |
|