English

Superoptimization of WebAssembly Bytecode

Programming Languages 2022-11-24 v2 Software Engineering

Abstract

Motivated by the fast adoption of WebAssembly, we propose the first functional pipeline to support the superoptimization of WebAssembly bytecode. Our pipeline works over LLVM and Souper. We evaluate our superoptimization pipeline with 12 programs from the Rosetta code project. Our pipeline improves the code section size of 8 out of 12 programs. We discuss the challenges faced in superoptimization of WebAssembly with two case studies.

Cite

@article{arxiv.2002.10213,
  title  = {Superoptimization of WebAssembly Bytecode},
  author = {Javier Cabrera-Arteaga and Shrinish Donde and Jian Gu and Orestis Floros and Lucas Satabin and Benoit Baudry and Martin Monperrus},
  journal= {arXiv preprint arXiv:2002.10213},
  year   = {2022}
}

Comments

4 pages, 3 figures. Proceedings of MoreVMs: Workshop on Modern Language Runtimes, Ecosystems, and VMs (2020)

R2 v1 2026-06-23T13:51:33.189Z