Hacker News

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

95 points by energeticbark ago | 10 comments

jonny_eh |next [-]

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

ahartmetz |next |previous [-]

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.

grashalm |root |parent [-]

It's two jits in total.

dag100 |next |previous [-]

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

tmpz22 |root |parent [-]

[flagged]

koolala |root |parent |next [-]

What are you basing this statement on? The code comments read very human to me. Your the one hurting their chances of finding a job by falsely saying this.

simonw |root |parent |next |previous [-]

I'd hire an undergraduate who can produce this level of work with Claude.

godwinson__4-8 |root |parent |previous [-]

Every company they apply to will be leveraging LLMs. Time to get over it. No need to be grumpy old man about such things. Every generation has faced such foes. The old always yields to the new.

For the times they are a-changin'

milch |next |previous [-]

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

bebenebenebeb |next |previous [-]

[dead]

iberator |previous [-]

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

switchbak |root |parent [-]

Good thing I'm not running games on my 4gb Pentium 4 then.