Help with an interpreter

ahindra@hotmail.com (=?ISO-8859-1?Q?Andr=E9s?=)
21 Feb 2003 01:15:55 -0500

          From comp.compilers

Related articles
Help with an interpreter ahindra@hotmail.com (2003-02-21)
| List of all articles for this month |

From: ahindra@hotmail.com (=?ISO-8859-1?Q?Andr=E9s?=)
Newsgroups: comp.compilers
Date: 21 Feb 2003 01:15:55 -0500
Organization: http://groups.google.com/
Keywords: interpreter, question
Posted-Date: 21 Feb 2003 01:15:55 EST

Hello:


  I'm writing a interpreter that first compiles a pseudo byte-code. The
byte code first has a big header with all symbols and constants and
their offsets to be loaded in memory, then the actual instructions use
these offsets when required. Is this ok? having all constants in
memory during exectuion seems the fast way. Large scripts will take so
much memory; but maybe thats the fair price to pay for the speed. I
wonder what's the solution to this problem in most compilers, virtual
machines, etc.


Post a followup to this message

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