OCaml-Java: The Java Virtual Machine as the target of an OCaml compiler*. (17th May 2016)
- Record Type:
- Journal Article
- Title:
- OCaml-Java: The Java Virtual Machine as the target of an OCaml compiler*. (17th May 2016)
- Main Title:
- OCaml-Java: The Java Virtual Machine as the target of an OCaml compiler*
- Authors:
- CLERC, XAVIER
- Abstract:
- Abstract: This article presents how the compiler from the OCaml-Java project generates Java bytecode from OCaml sources. Targeting the Java Virtual Machine (JVM) is a technological challenge, but gives access to a platform where OCaml can leverage multiple cores and access numerous libraries. We present the main design choices regarding the runtime and the various optimizations performed by the compiler that are crucial to get decent performance on a JVM. The challenge is indeed not only to generate bytecode but to generate efficient bytecode, and to provide a runtime library whose memory footprint does not impede the efficiency of the garbage collector. We focus on the strategies that differ from the original OCaml compiler, as the constraints are quite different on the JVM when compared to native code. The level of performance reached by the OCaml-Java compiler is assessed through benchmarks, comparing with both the original OCaml implementation and the Scala language.
- Is Part Of:
- Journal of functional programming. Volume 26(2016)
- Journal:
- Journal of functional programming
- Issue:
- Volume 26(2016)
- Issue Display:
- Volume 26, Issue 2016 (2016)
- Year:
- 2016
- Volume:
- 26
- Issue:
- 2016
- Issue Sort Value:
- 2016-0026-2016-0000
- Page Start:
- Page End:
- Publication Date:
- 2016-05-17
- Subjects:
- Functional programming (Computer science) -- Periodicals
- Journal URLs:
- http://journals.cambridge.org/action/displayJournal?jid=JFP ↗
http://firstsearch.oclc.org ↗ - DOI:
- 10.1017/S0956796816000095 ↗
- Languages:
- English
- ISSNs:
- 0956-7968
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library STI - ELD Digital store
- Ingest File:
- 606.xml