迈向OCaml语言的原生顶级
Towards a native toplevel for the OCaml language
摘要:
本文介绍了我们在OCaml语言的交互式顶层上的工作现状,该顶层是基于优化本机代码编译器和运行时的。我们的原生toplevel比默认的OCaml toplevel快100倍,默认的OCaml toplevel基于字节码编译器和解释器。它使用即时技术在运行时将顶级短语编译为本机代码,目前可用于运行在x86或x86-64处理器上的各种类Unix系统。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。