Re:2021 State of Haskell Survey
by ghostwriter on Tuesday November 02, 2021 @11:14AM
(#29082468)
> The point is that embracing Nix makes the learning curve of Haskell way steeper currently, especially when you also have GHC, Stack and Cabal.
I agree with this part, and I think that it would be great for the official language guide to provide a detailed comparison table for Stack, Cabal, and Nix to indicate feature-parity and/or missing slots.
Fair point, though Haskell seem to be the only language where Nix is the accepted solution to packaging and distribution.
> For that you need to define criteria that allow you to identify the "worst" example. It is going to be the worst if you expect a monolith all-included distribution that has its own implementation of the same generic dev tooling approach (reproducibility, tracking of dependency sources, versioning etc), such as Rust Cargo or Go Modules. But these criteria won't match with the world where I see every software component to be a generic build instruction that Nix manages to provide regardless of the underlying language compiler.
That's a reasonable point of view to have if you already know Nix. Most people don't, so they see Nix as Haskell-specific, except it's not and you now have to learn a general tool which usually takes way more time than learning Cargo or Go modules.
The point is that embracing Nix makes the learning curve of Haskell way steeper currently, especially when you also have GHC, Stack and Cabal. Maybe it will pay off in a few years when everyone uses Nix, but that's not the case today.