Evaluating the Java Virtual Machine as a Target for Languages Other Than Java
Data(s) |
2000
|
---|---|
Resumo |
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 straighforward implementation of other languages. Here, we discuss how the JVM may be used to implement other object-oriented languages. As a practical example of the possibilities, we report on a comprehensive case study. 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. |
Formato |
application/pdf |
Identificador | |
Publicador |
Springer Berlin / Heidelberg |
Relação |
http://eprints.qut.edu.au/30164/1/c30164.pdf DOI:10.1007/10722581_22 Gough, Kevin John & Corney, Diana (2000) Evaluating the Java Virtual Machine as a Target for Languages Other Than Java. In Lecture Notes in Computer Science, Springer Berlin / Heidelberg, Zurich, Switzerland, pp. 278-290. |
Direitos |
Copyright 2000 Springer-Verlag Berlin Heidelberg |
Fonte |
Faculty of Science and Technology |
Palavras-Chave | #080308 Programming Languages #Java Virtual Machine #compilers #object-oriented languages #Component Pascal |
Tipo |
Conference Paper |