WATaBoy: JIT-Ing Game Boy Instructions to WASM Beats a Native Interpreter

humphri.es

100 points by energeticbark 3 hours ago


ahartmetz - an hour ago

Of course it beats a native interpreter. WASM overhead is about 20%, interpreter overhead is about 1000%.

What's cool here is to have a GameBoy JIT runtime at all.

dag100 - 2 hours ago

This is an incredible project for an undergraduate. Very impressive. Interesting to note that Firefox is 25% slower than Chrome/Safari, I wonder why.

milch - 2 hours ago

Very interesting article. Would've been fun to see the comparison between native interpreter & JIT-on-WASM on iOS as well

jonny_eh - 30 minutes ago

So it's a JIT-in-JIT? JiJIT?

bebenebenebeb - 3 hours ago

[dead]

iberator - 2 hours ago

yet on real old hardware it would be 20x slower in real life. same as all native javascript junk - its fast, but non usuable on older hardware