Capítulo de livro Revisado por pares

OCaml-Java: OCaml on the JVM

2013; Springer Science+Business Media; Linguagem: Inglês

10.1007/978-3-642-40447-4_11

ISSN

1611-3349

Autores

Xavier Clerc,

Tópico(s)

Parallel Computing and Optimization Techniques

Resumo

This article presents the OCaml-Java project whose goal is to allow compilation of OCaml sources into Java bytecodes. The ability to run OCaml code on a Java virtual machine provides the developer with means to leverage the strengths of the Java ecosystem lacking in the OCaml world. Most notably, this includes access to a great number of libraries, and foundations for shared-memory concurrent programming. In order to achieve this, the OCaml-Java project does three contributions: (i) an optimized compiler and runtime support to achieve acceptable performance, (ii) an extension of the classical OCaml typer to allow manipulation of Java elements from the OCaml world, and (iii) a library dedicated to concurrent programming.

Referência(s)