Menu

Post image 1
Post image 2
Post image 3
1 / 3
227

WATaBoy: JIT-ing Game Boy Instructions to Wasm Beats a Native Interpreter

Hacker News·3 months ago
#p8PavFJF
Reading 0:00
15s threshold

Published on June 28th, 2026 Background This text assumes the reader is familiar with the concept of just-in-time compilation . Dolphin isn’t on iOS, because you can’t do JIT compilation on iOS. That’s a quick summary of OatmealDome’s blog post “ Why Dolphin Isn’t Coming to the App Store ”. Ever since reading that, I’ve wondered what it would take to get a CPU-bound emulator like Dolphin working on iOS. Do we just... have to wait a few years for iPhone CPUs to get fast enough to run Dolphin with an interpreter? Well, Apple has one exception to its JIT restrictions: web browsers. JavaScriptCore, WebKit’s JS engine , uses JIT compilation for its higher-performance tiers. So, if a JS function is called enough times, eventually it’ll be optimised and compiled into native machine code. The same is true for WebAssembly. So, what if we just piggyback off of this?…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More