News for hackers. Stuff that matters.
Re:I Was Wrong about Nix by blablabla123 on Tuesday February 11, 2020 @02:38AM (#22296774)
Problem with Docker is that it abstracts away one level too much. Somehow it's there to provide container isolation but in an abstraction that almost feels like a VM. So caching is pretty hard, in fact caching is more or less based on the source code layout. Nix doesn't provide this level of isolation, it doesn't pretend to provide a separate machine. Which allows caching of packages, thus eating less disk space and making rebuilds faster.

Not sure how Nix(OS) handles isolation in terms of cgroups/namespaces though, seems that it relies on systemd for that.

Re:I Was Wrong about Nix by cwp on Tuesday February 11, 2020 @03:20AM (#22296940)
You can specify containers in your configuration.nix if you want to run processes in isolation. It doesn't require building an image.