Stackless resumable functions

Martin Nowak via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 24 03:33:39 PDT 2014


This is so much better than Fibers.
http://youtu.be/KUhSjfSbINE

What I like most about the proposal is that you can adapt await 
by specializing template functions, similar to how range based 
foreach works.
It also isn't tied to a particular scheduling mechanism and of 
course consumes much less memory than stack based suspension.


More information about the Digitalmars-d mailing list