Re: PCODE Interpereters 101

gneuner@dyn.com (George Neuner)
5 Feb 1999 17:17:09 -0500

          From comp.compilers

Related articles
PCODE Interpereters 101 carld@td.co.nz (Carl Dawson) (1999-01-22)
Re: PCODE Interpereters 101 dwighth@ipa.net (Dwight Hughes) (1999-01-23)
Re: PCODE Interpereters 101 sda@rt66.com (1999-01-31)
Re: PCODE Interpereters 101 tgl@netcom.com (Tom Lane) (1999-02-03)
Re: PCODE Interpereters 101 sda@rt66.com (1999-02-05)
Re: PCODE Interpereters 101 gneuner@dyn.com (1999-02-05)
Re: PCODE Interpereters 101 cfc@world.std.com (Chris F Clark) (1999-02-10)
Re: PCODE Interpereters 101 sam@cogent.ca (Sam Roberts) (1999-02-12)
Re: PCODE Interpereters 101 kevin.b.smith@intel.com (Kevin B. Smith) (1999-02-15)
Re: PCODE Interpereters 101 cfc@world.std.com (Chris F Clark) (1999-02-15)
Re: PCODE Interpereters 101 toring@inet.uni2.dk (Torben Ring) (1999-02-18)
Re: PCODE Interpereters 101 aduncan@cs.ucsb.edu (aduncan) (1999-02-21)
[2 later articles]
| List of all articles for this month |
From: gneuner@dyn.com (George Neuner)
Newsgroups: comp.compilers
Date: 5 Feb 1999 17:17:09 -0500
Organization: Dynamic ReSolutions, Inc.
References: 99-01-079 99-01-117 99-02-008
Keywords: design

On 3 Feb 1999 23:51:59 -0500, Tom Lane <tgl@netcom.com> wrote:
>Now maybe the programming styles I'm used to are hopelessly
>troglodyte, but I've seen darn few programs other than
>recursive-descent compilers that even *have* two-level-nested
>procedures, much less programs in which such procedures' access to
>their grandparents' locals are so frequent as to be worth improving at
>the cost of a slowdown in all procedure calls.


Some languages (e.g., Common Lisp, Scheme, etc.) bind the execution
environment at compile time. This environment may be arbitrarily
nested. For reasonable performance, such languages have to have fast
access to non-locals.


>I think the only reason display-style implementations were ever
>popular at all is that Wirth's Pascal book described doing it that
>way; for most practical purposes static link is superior.


Many mainframe processor designs have displays maintained by hardware
to some fixed depth. Compilers for such machines frequently limit
function nesting depth to the maximum allowed by the hardware.




George Neuner
Dynamic Resolutions, Inc.


Post a followup to this message

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