logoalt Hacker News

debugniktoday at 3:33 PM1 replyview on HN

> Languages that don't make a syntactical distinction (such as Haskell) essentially solve the problem by making everything asynchronous

What the heck did I just read. I can only guess they confused Haskell for OCaml or something; the former is notorious for requiring that all I/O is represented as values of some type encoding the full I/O computation. There's still coloring since you can't hide it, only promote it to a more general colour.

Plus, isn't Go the go-to example of this model nowadays?


Replies

gf000today at 3:49 PM

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

show 1 reply