HACKER Q&A
📣 elbear

Could Nix make crypto mining more efficient?


For those who don't know, Nix[0][1] is a package manager that allows you to specify exactly: - the build environment - the dependencies - and the steps of the build

This translates into 2 main benefits: - if you made the build run now, it will run in the future (reproducibility) - it reduces bloat, because you can generate an environment or OS image with only the software needed to run a specific program or service

My guess is that a big efficiency gain would come from the second point, because you don't waste CPU on code that you don't use.

Does this make sense? Has anyone explored this?

[0]: https://nixos.org [1]: https://en.wikipedia.org/wiki/Nix_(package_manager)


  👤 al2o3cr Accepted Answer ✓

    you don't waste CPU on code that you don't use
You don't waste _CPU_ on code you don't use EVER, Nix or not - that's what "not used" means!

👤 mouse_
No.