1
Programming / Re: Linux Dependency Black Hole
« Last post by shapirus on Today at 05:36:23 pm »PSA to all who want to develop software:What's wrong with docker? It actually provides a way to create an abstraction layer to decouple the software in question from the host OS, thus helping to solve dependency issues, not to mention runtime context isolation.
* Do not use bullcrap like Python or docker
* Avoid dynamic linking, link statically if possible, and therefore:How does the latter follow from the former? If you link statically, you don't care about dependencies.
* Avoid library dependencies like plague;
By using libraries, you avoid reinventing the wheel and avoid making dangerous mistakes. That's what the libraries exist for in the first place. Yes, there are potential security risks, like the xz case. Such cases are rare. By creating your own implementations of what would otherwise be provided by libraries you waste resources and create potential vulnerabilities on your own.