hey, when would you build something in Haskell instead of rust? As in, for what kind of software do you care less about safety and speed and more about expressiveness?
Conversation
I'm not sure I have a good answer! I'm much more comfortable with Rust's packaging and tooling - always found stack and cabal have always been hard to use reliably, along with the editor integrations. Those are improving though.
2
PS I've been working on a side project in typescript and enjoying myself. It's my first time since uni using a statically typed language in anger. I can see myself really getting into Haskell one day.
1
1
It's a web app fuzzer that knows whether it's exploring new states by looking at coverage via Chrome Devtools Protocol
1
That said, I feel a bit hobbled in gradually typed langs because you can't do the neat type driven meta-programming that you can do in Rust/Haskell. Ie. define some types and some traits, and then generate a bunch of implementation boilerplate.
1
Granted, while Haskell is a bit nicer than Rust at doing that, it's still not as nice as *hypothetical dependently typed language*... the downside of types is once you get some, you always want more 🤦♂️ - not sure if we'll ever be able to solve that conundrum.
1
Show replies

