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?…