My hot take on "rewrite your compiler in Rust":
Conversation
One big reason I use Rust because it's ecosystem of tools is much nicer and easier to work with. Every time I try cabal, hoping it has improved, I get confusing constraint solver errors. HIE is broken all the time. Hope this stuff can improve sometime - it's painful!
4
1
1
Rust ecosystem is better developed, but have you tried cabal + nix + ghcid (or ghcide)? It took some figuring out first time but feedback loop is really fast now 😃
1
Yeah that seems cool (definitely interested in trying out NixOS myself), but it's a lot of work to teach contributors that workflow, given the lack of beginner-friendly documentation available for Nix. I want something that works out of the box, with minimal fuss.
2
1
AFAIK, I don't think Nix solves the 'install multiple versions of the same package at once per project' issue either. Like, Nix-style builds for cabal helps isolate cabal hell to individual projects, but you still have cabal hell. Not sure what it's like using actual Nix.


