4 ms·
Yeah, GHC’s runtime provides lightweight threads (forkIO) as well as OS threads (forkOS). The runtime and various libraries provide a wealth of parallelism and
by evincarofautumn 11y ago
Yeah, GHC’s runtime provides lightweight threads (forkIO) as well as OS threads (forkOS). The runtime and various libraries provide a wealth of parallelism and concurrency primitives—Chan, MVar, STM, TVar, &c.
Concurrent programming in Haskell is delightful. It gave me a better understanding of how to do it in imperative-land, too.