3 ms·
Most of the ABI issues arise when you start to mix and match shared libaries produced by different compilers, or even the libraries produced by the different ve
by menaerus 2y ago
Most of the ABI issues arise when you start to mix and match shared libaries produced by different compilers, or even the libraries produced by the different versions of the same compiler.
Rust has none of that, nor does support dynamic linking, so I fail to understand what is it that rustc can offer in that solution space. There is none.
- bluGill 2y agoRust works around the issue by not allowing all the useful things that get you there. There are other useful things like sharing pointers across threads that rust will not let you do - for both better and worse. (better in that you avoid a lot of problems for something you rarely need - worse for those few cases where you actually need to do those and cannot)
- Georgelemental 2y agoYou can share pointers across threads in Rust, it's just `unsafe`.