In this video I discuss Ubuntu's decision to switch to using rust implementations of the core utilities (mkdir, ls, cat, etc...) and what it could mean for t...
As long as two binaries are compiled with the same version of the Rust compiler, they are ABI compatible.
Even if the compiler version differs, I’ve found that changes to the ABI are fairly uncommon.
Furthermore, anything exposed through the C ABI is stable, so the problem can be circumvented if needed.
It’s not the most ergonomic solution, admittedly, but with some compromises dynamic linking is perfectly feasible.
As long as two binaries are compiled with the same version of the Rust compiler, they are ABI compatible. Even if the compiler version differs, I’ve found that changes to the ABI are fairly uncommon. Furthermore, anything exposed through the C ABI is stable, so the problem can be circumvented if needed. It’s not the most ergonomic solution, admittedly, but with some compromises dynamic linking is perfectly feasible.