> The best C and [insert any language here] package manager is Nix.
I raise you a docker.Seriously, the reproducibility and ability to just share a Dockerfile is amazing, especially with version pinning.
> The best C and [insert any language here] package manager is Nix.
I raise you a docker.Seriously, the reproducibility and ability to just share a Dockerfile is amazing, especially with version pinning.
Seriously, try it. I personally use docker-compose, even for single containers.
And don't forget that all new Macs are now ARM-based, so x86-based Docker images don't work.
My gripe with C is that everyone pretends it's portable, but only care about porting to one (their) platform. It's easy: just use pkg-config/docker/nix. Windows? macOS? Who cares!? Just run a Linux VM!
But god help you if you care about MacOS and Windows
Personally, I prefer VMs in GCP, Azure, or AWS. VMs can be stopped when not in use so their use can be inexpensive enough for both hobby projects and work. Instead of writing a Dockerfile, etc. for a new project, I create a VM. This has the advantage of using VMs much more powerful that any laptop I own. This does require being OK with a mosh/ssh, Emacs/Vim, development style.
Seriously, the reproducibility and ability to share a vm is amazing, especially with gzip.