Defining the Rust 2024 edition
Defining the Rust 2024 edition
Posted Jan 30, 2024 17:37 UTC (Tue) by quotemstr (subscriber, #45331)In reply to: Defining the Rust 2024 edition by josh
Parent article: Defining the Rust 2024 edition
Only across DSO boundaries. Systems should have far fewer DSOs than they typically today.
Have an ABI stable API? Spell it using gobject or whatever. Mangled names aren't ABI stable anyway (or, for the sake of language flexibility, should not be). Don't need an ABI-stable API? Statically link and gain the benefits of LTO.
Putting ABI-stable high level APIs across DSO boundaries is the worst of both worlds.