Posted Nov 21, 2007 14:17 UTC (Wed) by gbenson
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”).
to post comments)