3 ms·
You can make dynamically linked executables with both Go and Rust. The compilers have no blame in this.
by xyproto 5y ago
You can make dynamically linked executables with both Go and Rust. The compilers have no blame in this.
- butlerm 5y agoSure. But you have a slight problem with ABI stability, at least in Rust, if you ever want to compile an ABI compatible replacement library. Until that problem is resolved, if you want to make a useful replaceable object you need to make a C style foreign function interface and use that, something that isn't exactly convenient for Rust to Rust use, even if rather helpful for making Rust libraries usable from other languages. C++ has a very similar issue, and has had it for years, albeit one mostly resolved by the advent of stable C++ ABI standards.