Title :
Parameter passing for the Java virtual machine
Author_Institution :
Queensland Univ. of Technol., Brisbane, Qld., Australia
fDate :
6/22/1905 12:00:00 AM
Abstract :
The portability and runtime safety of programs which are executed on the Java Virtual Machine (JVM) makes the JVM an attractive target for compilers of languages other than Java. Unfortunately, the JVM was designed with language Java in mind, and lacks many of the primitives required for a straightforward implementation of other languages. Most fundamental of these obstacles is the limited range of parameter passing modes offered by the JVM. We discuss possible ways of using the JVM to provide parameter passing modes with alternative semantics, and explore one particular architecture in practice. The interaction between these mechanisms and the Java “byte code verifier” is also considered. The open source Gardens Point Component Pascal compiler compiles the entire Component Pascal language, a dialect of Oberon-2, to JVM bytecodes. This compiler achieves runtime efficiencies which are comparable to native-code implementations of procedural languages
Keywords :
Java; program compilers; virtual machines; Java virtual machine; Oberon-2; Pascal compiler; byte code verifier; compilers; native-code implementations; parameter passing; parameter passing modes; procedural languages; programs portability; runtime safety; Computer languages; Educational programs; Encoding; Engines; Graphical user interfaces; Java; Programming profession; Runtime; Safety; Virtual machining;
Conference_Titel :
Computer Science Conference, 2000. ACSC 2000. 23rd Australasian
Conference_Location :
Canberra, ACT
Print_ISBN :
0-7695-0518-X
DOI :
10.1109/ACSC.2000.824384