@Suiseiseki @nyanide There's a proposal that adds more safety to c++ which looks promising.
Static linking is often handy. For example when as .so file gets replaced on your system after a package upgrade, but there's a program that still expects the older version, so that program stops working. As long as you have enough disk space (a few extra MiB), getting more reliability for a larger binary size is often a good tradeoff.