Hacker News new | past | comments | ask | show | jobs | submit login

How does this system handle shared libraries and security updates to common components?

This is not a new idea - the "application directory" dates back to riscos as far as I'm aware. It's been carefully examined many times over the decades, and hasn't been widely adopted because it leads to massive duplication of dependencies, everything in the system has to be changed to be aware of it, and there are less painful ways to solve or avoid the same problems.




It's probably not a new idea, but it's not the same idea as the application directory as in RiscOS.

NixOS doesn't duplicate dependencies. Instead it makes everything read-only. Each dependency is to a specific version of the package, and everything that uses that specific package version uses the same copy. If you want to upgrade to a new version of a package, that implies a new version everything that depends on it as well. (Or at least the application that you want to use the new version.) It still uses more space than a traditional system, but not as much as duplicating everything.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: