←back to thread

A Few Words About Async

(yoric.github.io)
82 points vinhnx | 1 comments | | HN request time: 0.212s | source
Show context
valcron1000 ◴[] No.45788445[source]
> async/await is also available in a bunch of other languages, including F#, C#8, Haskell[...]

Haskell (GHC) does not provide async/await but uses a green thread model.

replies(3): >>45788625 #>>45788756 #>>45791833 #
LtWorf ◴[] No.45788625[source]
How are green threads implemented?
replies(1): >>45789797 #
1. whatevaa ◴[] No.45789797[source]
A runtime with it's own scheduling. Something rust doesn't want to require.