Rewriting the GNU Coreutils in Rust
Rewriting the GNU Coreutils in Rust
Posted Jun 12, 2021 23:49 UTC (Sat) by khim (subscriber, #9252)In reply to: Rewriting the GNU Coreutils in Rust by farnz
Parent article: Rewriting the GNU Coreutils in Rust
The biggest problem with dynamic linking IMO is just the fact that people don't bother to create a stable ABIs. Not even with C libraries.
And if you do want to create such an ABI you can as well go and create C ABI for two Rust modules.
This being said it would be interesting to develop some kind of tool to make it possible to load plugins into programs (but then… maybe these should go into separate processes anyway?).
Anyway: ABI stability and dynamic linking should be considered one problem, not two. Because ABI-unstable dynamic libraries create more problems than they solve from my observation.
If you have two versions of boost deeply embedded into two separate libraries then they can work fine, if both link boost dynamically then this become a problem.
