Hacker News

yomaytk
Show HN: Elfconv – Linux Apps to High-Performance WASM Binary Translator medium.com

This post introduces elfconv, a binary translator that converts Linux applications into WebAssembly.

repo: https://github.com/yomaytk/elfconv

Recently, performance has improved dramatically. In our LINPACK benchmark, the Wasm generated from ELF/AArch64 by elfconv now runs at roughly 60–80% of the performance of the Wasm directly compiled from source code.

This shows that elfconv can produce WebAssembly with practical, real‑world performance! Furthermore, compared to QEMU running in the browser, it achieves approximately 68× the performance.

Benchmark test: https://github.com/yomaytk/elfconv/issues/116

QEMU in the browser: https://github.com/ktock/qemu-wasm

Please give it a try, and feel free to submit any issues or pull requests!


hn-front (c) 2024 voximity
source