|Iterator firstname.lastname@example.org (2002-05-23)|
|Re: Iterator email@example.com (2002-05-27)|
|Re: Iterator firstname.lastname@example.org (Randall Hyde) (2002-05-27)|
|Re: Iterator email@example.com (Joachim Durchholz) (2002-05-27)|
|Re: Iterator firstname.lastname@example.org (Hans Aberg) (2002-05-27)|
|Re: Iterator bobduff@shell01.TheWorld.com (Robert A Duff) (2002-05-31)|
|From:||"Hans Aberg" <email@example.com>|
|Date:||27 May 2002 21:08:21 -0400|
|Posted-Date:||27 May 2002 21:08:20 EDT|
>Takuya Murata <firstname.lastname@example.org> wrote:
>> Now, I'm making a compiler. I want to support a loop feature as
>> iterators like Sather.
> Featherweight Concurrency in a Portable Assembly Language. Ramsey and
> Peyton-Jones. http://citeseer.nj.nec.com/ramsey01featherweight.html
>"Concurrency" in this paper refers to coroutine-style user threads,
>which are basically the same as Sather/CLU-style iterators.
One language that implements coroutines is Simula, and I recall that there
used to be (1996) a C++ package that emulates Simula. It implements the
Simula coroutines using threads (so if not efficiency requirements says
otherwise, my hunch is that it seems better to use threads than
Name : C++SIM
Where : on arjuna.ncl.ac.uk
Description : SIMULA and SIMSET style simulation package in C++
with accompanying documentation.
Authors : Mark Little (M.C.Little@newcastle.ac.uk)
Daniel McCue (Daniel_McCue.WBST102A@xerox.com)
Version : 1.0 (June 14th 1993)
Comments : A complete simulation package for creating process based
discrete event simulation as in SIMULA. The linked-list
manipulation facilities provided by SIMSET are also
provided in the package. The system is built in an object-
oriented manner and the documentation provides information
on how it can be modified and extended. Active objects in
C++ can also be provided outside of the simulation package
by simply inheriting the desired thread characteristic.
Hans Aberg * Anti-spam: remove "remove." from email address.
* Email: Hans Aberg <email@example.com>
* Home Page: <http://www.matematik.su.se/~haberg/>
* AMS member listing: <http://www.ams.org/cml/>
Return to the
Search the comp.compilers archives again.