LWN.net Logo

C++ interpreter

C++ interpreter

Posted Nov 21, 2007 14:17 UTC (Wed) by gbenson (guest, #38086)
Parent article: Piecing together free java

“Sun also released its older C++ based interpreter to help the porting effort”

The C++ interpreter is actually the newer of the two. The template interpreter is the original and is written entirely in assembler, so a port to a new platform involves (amongst other things) writing individual implementations of each of the 200 or so bytecodes. The C++ interpreter has these bytecode implementations in C++ so it's much easier to bring up on a new platform. It was originally written to port Java 1.4.2 to ia64 (ia64 assembly is “special”).


(Log in to post comments)

*** Cacao ***

Posted Nov 22, 2007 21:36 UTC (Thu) by thebohemian (guest, #38715) [Link]

AFAIK cacao supports annotations. I asked twisti about this some time back.

Debugging (JMVTI) and split verification is what it lacks.

However I am working on the latter for my diploma thesis :)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds