Coffee Substitutes: Compiling Other Languages to Bytecode

In the previous two sections, we discussed alternative ways to create bytecode besides simply writing Java source. In the most extreme cases, we can write programs at a very low level by working directly in JVM assembly language (Jasmin). We can also write programs to generate bytecode using BCEL, as mentioned in the previous section. A third option is to compile into bytecodes from a high-level language other than Java. There are now many alternative compilers that can convert other languages into bytecode. Examples of languages that can be compiled into bytecode include Basic, Scheme, Lisp, Logo, Prolog, Ada, COBOL, and many others (the book's website has links to many of these compilers). ...

Get Wicked Cool Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.