按年被提到
20222022 · 2 次2026
编程语言与编译器›编译器与运行时优化·arXiv:2205.01183 · cs.PL

A fast in-place interpreter for WebAssembly

Ben L. Titzer · 2022
开始阅读 ↗PDFalphaXiv 讨论
被提及 · 3 人首次 2022-07-01 · 最近 2025-02-03
3不同的人
2活跃月份
3讨论串
46被引(OpenAlex)
arXiv 摘要(候选层不写导读)

WebAssembly (Wasm) is a compact, well-specified bytecode format that offers a portable compilation target with near-native execution speed. The bytecode format was specifically designed to be fast to parse, validate, and compile, positioning itself as a portable alternative to native code. It was pointedly not designed to be interpreted directly. Instead, design considerations at the time focused on competing with native code, utilizing optimizing compilers as the primary execution tier. Yet, in JIT scenarios, compilation time and memory consumption critically impact application startup, leading many Wasm engines to later deploy baseline (single-pass) compilers. Though faster, baseline compilers still take time and waste code space for infrequently executed code. A typical interpreter being infeasible, some engines resort to compiling Wasm not to machine code, but to a more compact, but easy to interpret format. This still takes time and wastes memory. Instead, we introduce in this article a fast in-place interpreter for WebAssembly, where no rewrite and no separate format is necessary. Our evaluation shows that in-place interpretation of Wasm code is space-efficient and fast, achieving performance on-par with interpreting a custom-designed internal format. This fills a hole in the execution tier space for Wasm, allowing for even faster startup and lower memory footprint than previous engine configurations.

候选层:至少 2 个不同的人、在 2 个不同月份提到过,还没到主书架的 3 人 3 个月。没有做立场标注,所以只写“被提及”。

HN 书评

推荐在前,同类按时间 · 每篇最多保留 20 条,统计用全部提及
评论pcmoore · 2025-02

“I found this article very interesting with regards direct WASM interpretation: https://arxiv.org/abs/2205.01183 I produced https://github.com/peterseymour/winter on the back of it and learnt WASM is not as simple as it should be.”

I Wrote a WebAssembly VM in C原评论 ↗
被提交为 story · 2 次