WATaBoy: JIT-ing Game Boy Instructions to Wasm Beats a Native Interpreter
Summary
An in-depth look at WATaBoy, a Game Boy emulator that uses a JIT-to-Wasm approach to outperform a native interpreter in some cases. The post covers WASM codegen in Rust, late-linking from within Rust, and embedding via JavaScript, including sample code and practical benchmarks. It concludes with plans for further work and an invitation to contribute on GitHub.