News for hackers. Stuff that matters.
Re:Ask HN: What is the state of C++ vs. Rust? by dom0 on Thursday October 20, 2016 @05:24AM (#12750814)
fully static (including libc) can cause a lot of trouble on Linux.

Static binaries (with system libc) on Linux are okayish, if all the systems are the same distro, or at least have a libc of the same vintage, but breaks frequently if you try to go further (eg. deploying to LTS distros like deb oldstable, centos, ...).

Doesn't really compare to eg. Windows, where you just bundle the MSVCRT with the installer and unless you're API incompatible the application will just work everywhere.

Re:Ask HN: What is the state of C++ vs. Rust? by UtherII on Thursday October 20, 2016 @09:31AM (#12751992)
That's why on Linux, by default, Rust link everything statically except the libc. But you sill can make a fully static executable by using the "musl" target.