Re: Register Based Interpreter Model

Kurt Jung <kurt-gmane@oakadaptive.com>
2 Nov 2005 22:11:27 -0500

          From comp.compilers

Related articles
Register Based Interpreter Model acampbellb@hotmail.com (Avatar) (2005-11-01)
Re: Register Based Interpreter Model basile-news@starynkevitch.net (Basile Starynkevitch \[news\]) (2005-11-02)
Re: Register Based Interpreter Model nkavv@skiathos.physics.auth.gr (Uncle Noah) (2005-11-02)
Re: Register Based Interpreter Model christian.mueller@aktivanet.de (2005-11-02)
Re: Register Based Interpreter Model spammer@b2z.com (Omri Barel) (2005-11-02)
Re: Register Based Interpreter Model kurt-gmane@oakadaptive.com (Kurt Jung) (2005-11-02)
Re: Register Based Interpreter Model anton@mips.complang.tuwien.ac.at (2005-11-02)
Re: Register Based Interpreter Model fw@deneb.enyo.de (Florian Weimer) (2005-11-02)
Re: Register Based Interpreter Model lhf@csgpwr1.uwaterloo.ca (2005-11-02)
| List of all articles for this month |

From: Kurt Jung <kurt-gmane@oakadaptive.com>
Newsgroups: comp.compilers
Date: 2 Nov 2005 22:11:27 -0500
Organization: Oak Adaptive
References: 05-11-016
Keywords: VM

"Avatar" <acampbellb@hotmail.com> wrote in
> I would like to know if anyone has had any practical experience
> with register-based interpreters or has any good suggestions for
> references about this topic?


You may wish to read Appendix D (Abstract Machine design and
reference) of the Implementor's Guide for the scripting language
Pawn. You can obtain a copy at


    http://www.compuphase.com/pawn/pawn-imp.pdf


The author demonstrates with examples how register-based
interpreters are more readily optimized than stack-based
interpreters.


The author lists Lua as a stack-based interpreter, but since
version 5.0, Lua is register-based.


--
Kurt Jung



Post a followup to this message

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