Change search
ReferencesLink to record
Permanent link

Direct link
BEAMJIT: a just-in-time compiling runtime for Erlang
Number of Authors: 2
2014 (English)Conference paper (Refereed)
Abstract [en]

BEAMJIT is a tracing just-in-time compiling runtime for the Erlang programming language. The core parts of BEAMJIT are synthesized from the C source code of BEAM, the reference Erlang abstract machine. The source code for BEAM's instructions is extracted automatically from BEAM's emulator loop. A tracing version of the abstract machine, as well as a code generator are synthesized. BEAMJIT uses the LLVM toolkit for optimization and native code emission. The automatic synthesis process greatly reduces the amount of manual work required to maintain a just-in-time compiler as it automatically tracks the BEAM system. The performance is evaluated with HiPE's, the Erlang ahead-of-time native compiler, benchmark suite. For most benchmarks BEAMJIT delivers a performance improvement compared to BEAM, although in some cases, with known causes, it fails to deliver a performance boost. BEAMJIT does not yet match the performance of HiPE mainly because it does not yet implement Erlang specific optimizations such as boxing/unboxing elimination and a deep understanding of BIFs. Despite this BEAMJIT, for some benchmarks, reduces the runtime with up to 40\%.

Place, publisher, year, edition, pages
2014, 7.
National Category
Computer and Information Science
URN: urn:nbn:se:ri:diva-15565DOI: 10.1145/2633448.2633450OAI: diva2:1036882
The Thirteenth ACM SIGPLAN Workshop on Erlang
Available from: 2016-10-13 Created: 2016-10-13

Open Access in DiVA

fulltext(566 kB)4 downloads
File information
File name FULLTEXT01.pdfFile size 566 kBChecksum SHA-512
Type fulltextMimetype application/pdf

Other links

Publisher's full texthttp

Search in DiVA

By author/editor
Drejhammar, FrejRasmusson, Lars
Computer and Information Science

Search outside of DiVA

GoogleGoogle Scholar
Total: 4 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Altmetric score

ReferencesLink to record
Permanent link

Direct link