Are tail calls the first thing where you can do something in WebAssembly that you can’t do in JS? v8.dev/blog/wasm-tail…
Would be interesting to do a tail-calling version of my little bytecode interpreter for PEGs: twitter.com/dubroy/status/…
Patrick Dubroy
@dubroy
·
Nov 2
My little side project for the past few weeks: a little JS parsing framework, with two different implementations:
1️⃣ A tree-walking interpreter
2️⃣ A switch-style bytecode interpreter
Finally got both to a working state, and the initial benchmark results are a little surprising!
1️⃣ A tree-walking interpreter
2️⃣ A switch-style bytecode interpreter
Finally got both to a working state, and the initial benchmark results are a little surprising!
https://twitter.com/dubroy/status/1730928075737600197 ∙ Archived on 2025-03-28.