News for hackers. Stuff that matters.

CupOfJava

Re:Coroutines are now in Clang trunk, libc++ on Friday May 26, 2017 @12:01PM (#14424962)
The fundamental difference between single threading, coroutines, and multi threading:

Single Thread: 1 thread of execution, 1 execution stack

Coroutine: 1 thread of execution, multiple execution stacks

Multi threading: multiple threads of execution, multiple execution stacks