English

Towards a native toplevel for the OCaml language

Programming Languages 2011-10-28 v2 Performance

Abstract

This paper presents the current state of our work on an interactive toplevel for the OCaml language based on the optimizing native code compiler and runtime. Our native toplevel is up to 100 times faster than the default OCaml toplevel, which is based on the byte code compiler and interpreter. It uses Just-In-Time techniques to compile toplevel phrases to native code at runtime, and currently works with various Unix-like systems running on x86 or x86-64 processors.

Keywords

Cite

@article{arxiv.1110.1029,
  title  = {Towards a native toplevel for the OCaml language},
  author = {Marcell Fischbach and Benedikt Meurer},
  journal= {arXiv preprint arXiv:1110.1029},
  year   = {2011}
}

Comments

10 pages, 5 figures, technical report

R2 v1 2026-06-21T19:15:36.678Z