TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The future of software is Nix

42 pointsby biggestlou7 months ago

14 comments

andrewla7 months ago
The future of software is Nix in the same sense that the future of software was Bitkeeper.<p>It was readily apparent to anyone using Bitkeeper that this was the right way for version control software to work. Similarly, the Nix model is clearly correct.<p>But just as Bitkeeper was a clumsy early attempt at implementing that paradigm, so is Nix. The article says that &quot;Nix is declarative&quot; which could not be further from the truth. It has a confusing and awkward language with multiple ways of accomplishing the same task, twisting concepts like &quot;function&quot; and &quot;struct&quot; into confusing knots that make it difficult to follow. Debugging is nearly impossible, and even test evaluations take a lot of work to get right. It is riddled with conventions and &quot;helpers&quot; that have idiomatic forms that are not well-documented and frequently abused.<p>But the model is RIGHT. This is the way to distribute software, this is the way to write software, this is the way to ensure hermetic distributions, this is the way to avoid global implicit state. And Nix as a proof of concept is great because it shows that it does work (basically).<p>So what is the path forward? Kill the language and replace it with configuration, with external scripts to do the heavy lifting. Make mutations of the data model the fundamental operations rather than having an intentional CLI that conceals the underlying functionality. So make it less usable but more understandable (like the path that Git took) and iterate from there.
评论 #41950430 未加载
评论 #41948548 未加载
评论 #41948699 未加载
评论 #41949813 未加载
评论 #41948311 未加载
评论 #41948543 未加载
评论 #41948612 未加载
uberduper7 months ago
I really like Nix package management. I really hate Nix configuration management. I already know how to configure everything. I don&#x27;t want to have to figure out whatever abstracted config options some random package maintainer decided on.
评论 #41948252 未加载
评论 #41951368 未加载
abdullahkhalids7 months ago
&gt; To make a smooth path from “Nix could solve my dev, build, and configuration management problems” to “Nix is solving these problems” and in a way that doesn’t involve turning someone from a developer to “the Nix person.”<p>When do we get Nix easy enough for not just software engineers, but also scientists etc who need reliable reproducible systems for running simulations with zero hassle?
评论 #41948438 未加载
gr4vityWall7 months ago
FWIW, the post looks more like a startup pitch from its founder than a more technical article.<p>My take as of now is that I like what Nix achieves, but I don&#x27;t feel the complexity is worth it. Docker and similar container tech have issues, yes, but I&#x27;d have way way less trouble onboarding a dev on it than Nix.<p>I hope that changes in the future, though.
评论 #41948681 未加载
stackskipton7 months ago
We have Nixstan on &quot;Ops Team&quot; who keeps pushing us to use it. We haven&#x27;t seen need that much.<p>So can someone give me elevator pitch that if we are CRUD Web App, why Nix instead of Puppet&#x2F;Ansible + Docker Containers?<p>Also, this from the blog article: &quot;What if adopting Nix didn’t irritate your IT or security teams?&quot; Too late, security team is already pissed. They did some scan, we pinned a package, it has 3 high severity and it needs to be updated tomorrow. So yea, we are just yoloing package updates, we don&#x27;t have much of a choice.<p>Oh yea, we have some third party proprietary package we use. Support told us, Red Hat&#x2F;Rocky&#x2F;Ubuntu or we could kiss support goodbye. Any suggestions that doesn&#x27;t involve shoehorning nix into Ubuntu which is like mud wrestling with a pig?
评论 #41949873 未加载
amykhar7 months ago
It&#x27;s not going to be the future of anything if it doesn&#x27;t get much better documentation.
评论 #41948229 未加载
grhmc7 months ago
Hey folks CEO of Determinate Systems, and the author of the blog post. I&#x27;d be glad to answer questions about the post and what we&#x27;re doing!
评论 #41948369 未加载
评论 #41948154 未加载
rgreekguy7 months ago
Something I have never understood is why the hard-on with Nix, and Guix is not heard of even a tenth of the times. Is GPL really so repulsive to the masses? Or the libre kernel default?
评论 #41948818 未加载
评论 #41967543 未加载
评论 #41949571 未加载
Koshkin7 months ago
The future is not what it used to be.
评论 #41948716 未加载
smallerfish7 months ago
Cool! I&#x27;m glad somebody is working on this.<p>What&#x27;s your business model?
评论 #41948182 未加载
laerus7 months ago
What about immutable systems like Fedora Atomic?
评论 #41948266 未加载
bsimpson7 months ago
&gt; Our world’s infrastructure should not be stuck in a “don’t touch it, it works” mode, but it is.
autoexecbat7 months ago
Is there a good book that describes everything we need to know?
评论 #41948187 未加载
评论 #41948116 未加载
croes7 months ago
Nix is the future gets another meaning if you know that nix in German means nothing.
评论 #41948107 未加载
评论 #41948595 未加载
评论 #41949208 未加载