Shared libraries as executables

Aug 20th, 2022

Typically you either have an executable or a shared library, but can you have an executable shared library too?

Stop searching for shared libraries

Aug 4th, 2022

Nix, Guix, Gentoo Prefix and Spack install every package in their own immutable prefix. These prefix directories contain a unique hash derived from the versions and flavors of the package itself and its dependencies, which ensures that multiple variants of the same package can coexist.

The non-standard directory structure makes life hard for the dynamic linker to locate libraries — but what if we don't have to search at all?