Re: How to implement lexical closures?

glen herrmannsfeldt <gah@ugcs.caltech.edu>
Wed, 19 May 2010 06:12:14 +0000 (UTC)

          From comp.compilers

Related articles
[8 earlier articles]
Re: How to implement lexical closures? gah@ugcs.caltech.edu (glen herrmannsfeldt) (2010-05-13)
Re: How to implement lexical closures? gneuner2@comcast.net (George Neuner) (2010-05-15)
Re: How to implement lexical closures? gneuner2@comcast.net (George Neuner) (2010-05-15)
Re: How to implement lexical closures? gah@ugcs.caltech.edu (glen herrmannsfeldt) (2010-05-16)
Re: How to implement lexical closures? gneuner2@comcast.net (George Neuner) (2010-05-17)
Re: How to implement lexical closures? cfc@shell01.TheWorld.com (Chris F Clark) (2010-05-17)
Re: How to implement lexical closures? gah@ugcs.caltech.edu (glen herrmannsfeldt) (2010-05-19)
Re: How to implement lexical closures? anton@mips.complang.tuwien.ac.at (2010-05-20)
| List of all articles for this month |

From: glen herrmannsfeldt <gah@ugcs.caltech.edu>
Newsgroups: comp.compilers
Date: Wed, 19 May 2010 06:12:14 +0000 (UTC)
Organization: Aioe.org NNTP Server
References: 10-05-031 10-05-072 10-05-076 10-05-084 10-05-089 10-05-091 10-05-099 10-05-105
Keywords: parallel, PL/I
Posted-Date: 19 May 2010 22:22:06 EDT

Chris F Clark <cfc@shell01.theworld.com> wrote:
>> [That sounds right, but it depends on the version of PL/I. I have
>> the impenetrable 1976 PL/I standard and don't see anything about
>> threads. -John]


> When I worked at Pr1me, we had Freiberghouse's "full" PL/I compiler as
> well as the subset G compiler. Neither had the concept of threads to
> my knowledge, even the OS didn't.


(snip)


The IBM PL/I compilers that are not subset have tasks, not threads.


OS/360 MVT (Multitasking with a Variable number of Tasks)
has the appropriate support for subtasking. Since OS/360 runs
everything in one address space, it isn't so easy to say
what the difference is between threads and tasks.


In any case, full PL/I provides the ability to start and
synchronize subtasks. That may or may not come out as
threads on newer systems.


-- glen
[Tasks and threads sure look similar to me. -John]



Post a followup to this message

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