Skip to main content

Evaluating the Java Virtual Machine as a Target for Languages Other Than Java

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 1897))

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 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.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Gosling, J., Joy, B., Steele, G.: The Java Language Specification. Addison-Wesley, Reading (1997)

    Google Scholar 

  2. Lindholm, T., Yellin, F.: The Java Virtual Machine Specification. Addison-Wesley, Reading (1997)

    Google Scholar 

  3. Tolksdorf, R.: Programming Languages for the Java Virtual Machine (Web bibliography), http://grunge.cs.tu-berlin.de/~tolk/vmlanguages.html

  4. Oberon Microsystems, Component Pascal Language Report available at, http://www.oberon.ch/resources

  5. Pfister, C.: The Evolution of Oberon-2 to Component Pascal’ Oberon Microsystems (technical report), available at http://www.oberon.ch/resources

  6. Wirth, N.: The Programming Language Oberon. Software Practice and Experience 18(7), 671–690 (1988)

    Article  MATH  Google Scholar 

  7. Mössenböck, H., Wirth, N.: The Programming Language Oberon-2. Structured Programming 12, 179–195

    Google Scholar 

  8. John Gough, K.: Parameter Passing for the Java Virtual Machine. In: Australian Computer Science Conference ACSC2000, Canberra, February 2000, IEEE Press, Los Alamitos (2000)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2000 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Gough, K.J., Corney, D. (2000). Evaluating the Java Virtual Machine as a Target for Languages Other Than Java. In: Weck, W., Gutknecht, J. (eds) Modular Programming Languages. JMLC 2000. Lecture Notes in Computer Science, vol 1897. Springer, Berlin, Heidelberg. https://doi.org/10.1007/10722581_22

Download citation

  • DOI: https://doi.org/10.1007/10722581_22

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-67958-5

  • Online ISBN: 978-3-540-44519-7

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics