Related articles |
---|
General byte-codes reference mak@imakhno.freeserve.co.uk (Makhno) (2000-12-07) |
Re: General byte-codes reference s337240@student.uq.edu.au (Trent Waddington) (2000-12-08) |
Re: General byte-codes reference evilzr@yahoo.com (Daniel Dunbar) (2000-12-08) |
Re: General byte-codes reference anton@mips.complang.tuwien.ac.at (2000-12-11) |
Re: General byte-codes reference midkiff@watson.ibm.com (2000-12-11) |
Re: General byte-codes reference Norman_member@newsguy.com (Norman Culver) (2000-12-18) |
Re: General byte-codes reference brangdon@cix.compulink.co.uk (2000-12-18) |
Re: General byte-codes reference patc@acm.org (Pat Caudill) (2000-12-18) |
Re: General byte-codes reference sjmeyer@www.tdl.com (2000-12-20) |
Re: General byte-codes reference midkiff@watson.ibm.com (2000-12-21) |
Re: General byte-codes reference anton@mips.complang.tuwien.ac.at (2000-12-31) |
From: | Norman Culver <Norman_member@newsguy.com> |
Newsgroups: | comp.compilers |
Date: | 18 Dec 2000 00:42:50 -0500 |
Organization: | Extra Newsguy News Service [http://extra.newsguy.com] |
References: | 00-12-030 |
Keywords: | interpreter |
Posted-Date: | 18 Dec 2000 00:42:50 EST |
"Makhno" says...
>Hi, I'm interested in learning a bit more about byte codes in
>general. ie: If one were to write an interpreted language, what sort
>of byte codes to use?
You have to take into account various factors such as CPU speed,
memory speed and cache size. I've been doing a series of experiments
with interpreters hand coded in assembler for some of the latest
processors. It is possible to fit an entire interpreter into the L1
cache (64 KB) of a 1 Ghz AMD but it won't fit into the 16 KB cache of
a Pentium III. The Pentium IV with 12,000 trace cache entries looks
very interesting but I don't have one to play around with.
The choice of byte codes is highly dependent upon the CPU architecture
so I would go with a generalized form in the object modules and let
the loader adapt them to the run time environment.
Call me crazy but I think that the OS kernel may best be interpreted
when CPU speed hits 2GHZ and above.
Norm Culver
ndc@alum.mit.edu
[I run a mailing list about virtual machines where this would also be
germane; send "subscribe gclist" to majordomo@lists.iecc.com to subscribe.
-John]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.