2 ms·
Yes! People malign async exceptions but the fact that you can zap GHC thread is genius. I am mostly a Haskeller (10 years now) but I used Go at a startup once.
by whateveracct 3y ago
Yes! People malign async exceptions but the fact that you can zap GHC thread is genius.
I am mostly a Haskeller (10 years now) but I used Go at a startup once. It was shocking how often we leaked goroutines. Whereas in Haskell, if you use async it's hard to.
Haskell exceptions are tricky (and there are plenty of bloggers who make a niche living acting like they're so hard to deal with you need to hire them) but in 2023 it's trivial. Just use the unliftio wrappers and you're golden.