News for hackers. Stuff that matters.
Re:Coroutines are now in Clang trunk, libc++ by CupOfJava 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

Re:Coroutines are now in Clang trunk, libc++ by gpderetta on Saturday May 27, 2017 @08:18AM (#14429795)
FYI each coroutine is normally considered its own thread of execution (which is a distinct thing from a kernel scheduled thread).

Coroutines are distinct from threads as they normally lack a scheduler (the decision to which coroutine run next is either made statically ot explicitly by the coroutine); coroutines meant to be used on top of an userspace scheduler are often called fibers (or simply userspace, or green, threads).