logoalt Hacker News

gf000today at 3:49 PM1 replyview on HN

Haskell has green threads. Plus nowadays Java also has virtual threads.


Replies

debugniktoday at 3:51 PM

And I bet those green threads still need an IO type of some sort to encode anything non-pure, plus usually do-syntax. Comparing merely concurrent computations to I/O-async is just weird. In fact, I suspect that even those green threads already have a "colourful" type, although I can't check right now.

show 1 reply