News for hackers. Stuff that matters.
Re:Ruby 3, Concurrency and the Ecosystem by steveklabnik on Friday January 08, 2021 @09:11PM (#25695401)
Async/await does not use threads of any kind. It creates a state machine.

Executors may execute those state machines on a single thread, or map them to many threads. The latter looks kinda like green threads depending on what your definition of “green thread” is.

There are no comments on this comment yet.