2 ms·
> It breaks the existing ABI, and all shared libraries would have to be compiled with the new model, as otherwise unwinding breaks. I am convinced that maintai
by RcouF1uZ4gsC 5y ago
> It breaks the existing ABI, and all shared libraries would have to be compiled with the new model, as otherwise unwinding breaks.
I am convinced that maintaining ABI is a huge technical debt to C++. And that is largely occasioned by shared libraries.
Rust IMO made a fantastic decision to emphasize source distribution (and making it super easy via cargo and crates).
- synergy20 5y agoyou do pay the compilation time price though, sometimes it takes really a long time to rebuild.
- zozbot234 5y agoRust just punts to the C ABI for shared libraries. Which is sensible since the whole point of those is to share code system-wide, and the C ABI is the de-facto common interface for "foreign" code on systems where shared libraries are widely deployed.