🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #5295

Re: From Modula to Oberon

#5295
From: Richard Schooler
Date: Wed, 16 Mar 1988 15:04
10 lines
953 bytes

  The debate about CLU iterators misses an important point: CLU iterators are
coroutines, which C does not have.  The implication is that per-iteration state
is nicely hidden in CLU ("on the stack" in the coroutine local variables), and
has to be explicitly managed in C (or any other coroutine-free language) by
putting the state into globals or making the user hang on to the state.

	-- Richard
	schooler@bbn.com
Technical Details
Message-ID: <22162@bbn.COM>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bbn!schooler@oak.bbn.com
References: <2827@enea.se> <1557@pasteur.Berkeley.Edu> <3764@bloom-beacon.MIT.EDU> <7747@sol.ARPA> <1131@PT.CS.CMU.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bbn!schooler@oak.bbn.com
From: schooler@oak.bbn.com (Richard Schooler)
Newsgroups: comp.lang.misc
Subject: Re: From Modula to Oberon
Message-ID: <22162@bbn.COM>
Date: 16 Mar 88 15:04:21 GMT
References: <2827@enea.se> <1557@pasteur.Berkeley.Edu> <3764@bloom-beacon.MIT.EDU> <7747@sol.ARPA> <1131@PT.CS.CMU.EDU>
Sender: news@bbn.COM
Reply-To: schooler@oak.bbn.com (Richard Schooler)
Organization: BBN Advanced Computers, Inc.
Lines: 9
In-reply-to: edw@IUS1.CS.CMU.EDU (Eddie Wyatt)