|General byte-codes reference firstname.lastname@example.org (Makhno) (2000-12-07)|
|Re: General byte-codes reference email@example.com (Trent Waddington) (2000-12-08)|
|Re: General byte-codes reference firstname.lastname@example.org (Daniel Dunbar) (2000-12-08)|
|Re: General byte-codes reference email@example.com (2000-12-11)|
|Re: General byte-codes reference firstname.lastname@example.org (2000-12-11)|
|Re: General byte-codes reference Norman_member@newsguy.com (Norman Culver) (2000-12-18)|
|Re: General byte-codes reference email@example.com (2000-12-18)|
|Re: General byte-codes reference firstname.lastname@example.org (Pat Caudill) (2000-12-18)|
|Re: General byte-codes reference email@example.com (2000-12-20)|
|Re: General byte-codes reference firstname.lastname@example.org (2000-12-21)|
|Re: General byte-codes reference email@example.com (2000-12-31)|
|From:||Norman Culver <Norman_member@newsguy.com>|
|Date:||18 Dec 2000 00:42:50 -0500|
|Organization:||Extra Newsguy News Service [http://extra.newsguy.com]|
|Posted-Date:||18 Dec 2000 00:42:50 EST|
>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.
[I run a mailing list about virtual machines where this would also be
germane; send "subscribe gclist" to firstname.lastname@example.org to subscribe.
Return to the
Search the comp.compilers archives again.