Walter: any plan to add support for yield/return Iterators/generators?

Bruno Medeiros brunodomedeiros+spam at com.gmail
Tue Sep 5 08:51:01 PDT 2006


Marcio wrote:
> Walter Bright wrote:
>> I've thought of doing generators, but they're a 2.0 or later feature. 
>> They're a lot of work to implement.
> 
> 
> I am curious... Do you have references to papers on the implementation 
> tricks needed?
> 
> I believe they were first implemented in Barbara Liskov's CLU? 
> http://www.lcs.mit.edu/publications/pubs/pdf/MIT-LCS-TR-561.pdf
> 
> marcio

One of the things needed for sure is heap frames.

-- 
Bruno Medeiros - MSc in CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D



More information about the Digitalmars-d mailing list