Gus Wirth wrote:
> Andrew Lentvorski wrote:
> [snip]
>> And, in fact, some of the newer VM's are even moving away from
>> stack-based.  Lua, IIRC, has changed from stack-based to
>> register-based VM and promptly picked up quite a performance boost.
>
> The Parrot virtual machine <http://www.parrotcode.org>, which is used
> for Perl 6, is also register based.
>
> There are many other languages that can run on Parrot as well,
> including Lua.
Parrot is an unlimited register based VM (which is conceptually actually
more similar to a stack based VM than a typicaly register VM), and it
doesn't have a JIT (so using registers improves interpreter performance,
just like Lua). I do like the unlimited register idea, as it seems to
have the advantages of both worlds.

--Chris

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to