Stackless resumable functions

CraigDillabaugh via Digitalmars-d digitalmars-d at puremagic.com
Fri Feb 20 11:04:51 PST 2015


On Friday, 20 February 2015 at 17:51:17 UTC, bitwise wrote:
> Just out of curiosity, is anyone planning to implement this?
>
> As for why it's not already implemented, is it because of lack 
> of interest, or prohibitive reasons?
>
>
>
> On Friday, 24 October 2014 at 10:33:40 UTC, Martin Nowak wrote:
>> 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.

They are waiting for your pull request :o)


More information about the Digitalmars-d mailing list