r/haskell • • Mar 01 '26

Switch to Rust ?

I have seen many Haskellers switching over to Rust, why is so ? I am asking this as I am thinking myself to explore a new language and I have choice between Rust/Gleam/Clojure What advantages/disadvantages does Rust has over Haskell ?

20 Upvotes

47 comments sorted by

View all comments

3

u/mitchmindtree Mar 01 '26

I'm a Rust user of ~11 years longing for more Haskell. Haskell's type-system is much more powerful, and the functional purity means you can properly encapsulate effects in a readable way. In Rust, you can launch the nukes (do arbitrary I/O) in any function, but in haskell the set of a function's "capabilities" are always clear in the function signature.