Re:All C++20 core language features with examples
by Ar-Curunir on Wednesday April 07, 2021 @11:42AM
(#26726531)
The Linux model of package management doesn't work for newer languages. In particular it is heavily reliant on dynamic linking, which tends not to work when you have (a) an unstable ABI (b) generics (c) a culture of static linking.
[ Parent
| on HN ]
Re:All C++20 core language features with examples
by beojan on Wednesday April 07, 2021 @01:03PM
(#26727676)
It works fine, you just ship the static libraries. With static linking your binaries won't have dependencies anyway.
That's not to say the static linking craze is a good thing. We'd be far better off finding a way to dynamically link templates, so you get the security benefits of automatically updated dependencies that dynamic linking gives you.