3 ms·
Get back to me when Rust has a stable ABI and can produce dynamically linked binaries.
by teddyh 15d ago
Get back to me when Rust has a stable ABI and can produce dynamically linked binaries.
- tcfhgj 15d agoRust supports opting into the C ABI
- teddyh 15d agoSo does any other language which wants to be useful; being able to call C functions is table stakes for a systems programming language. But Rust itself can still only generate static binaries, because Rust doesn’t have a stable ABI.
- tcfhgj 15d agoI am not talking about calling C functions, but about providing a stable ABI for your binary.
- teddyh 13d agoCan a Rust program be compiled, by the normal Rust compiler, into a dynamically linked binary, linked to Rust libraries, by “opting in” to the C ABI?
- bryanlarsen 10d agoMore than C++ can.