3 ms·
> which really allows it to be used as an OS API, which Rust can't do. I think that's a massive simplification
by biorach 3y ago
> which really allows it to be used as an OS API, which Rust can't do.
I think that's a massive simplification
- ninkendo 3y agoIn what way? OS API’s can’t reasonably be copy/pasted into every binary on the system. It’s one thing to have large executables for third party apps you install, but you’d get tired of the wasted disk space really quickly if every binary in the OS had to statically link in the implementation of every library it used. It’s not just disk space either, but the ability for an OS as a platform to swap out implementations of their API’s with new ones, without requiring every app to be recompiled. It’s the reason macOS is able to implement things like dark mode, or a new UI theme, or any other “horizontal” feature that works across all apps; you need dynamic linking for that to be possible.