Re: Iterator

"Hans Aberg" <>
27 May 2002 21:08:21 -0400

          From comp.compilers

Related articles
Iterator (2002-05-23)
Re: Iterator (2002-05-27)
Re: Iterator (Randall Hyde) (2002-05-27)
Re: Iterator (Joachim Durchholz) (2002-05-27)
Re: Iterator (Hans Aberg) (2002-05-27)
Re: Iterator (Robert A Duff) (2002-05-31)
| List of all articles for this month |

From: "Hans Aberg" <>
Newsgroups: comp.compilers
Date: 27 May 2002 21:08:21 -0400
Organization: Mathematics
References: 02-05-125 02-05-130
Keywords: parallel, bibliography
Posted-Date: 27 May 2002 21:08:20 EDT wrote:
>Takuya Murata <> 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.
>"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
Description : SIMULA and SIMSET style simulation package in C++
                            with accompanying documentation.
Authors : Mark Little (
                            Daniel McCue (
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 <>
                                    * Home Page: <>
                                    * AMS member listing: <>

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.