WATaBoy: JIT-Ing Game Boy Instructions to WASM Beats a Native Interpreter
101 points - today at 3:02 PM
Sourceahartmetz
today at 5:14 PM
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.
This is an incredible project for an undergraduate. Very impressive.
Interesting to note that Firefox is 25% slower than Chrome/Safari, I wonder why.
[flagged]
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.
I'd hire an undergraduate who can produce this level of work with Claude.
godwinson__4-8
today at 4:29 PM
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'
kevindamm
today at 6:24 PM
...but my buggy whip is real skill! and these combustion engines will let me drive off the road while my horse keeps me safe even when I'm blitzed.
In all seriousness, though -- while I know that LLMs will produce more code per keystroke than doing it manually, 1) I still enjoy coding by hand more and 2) I'd rather hire a mechanic who has actually disassembled an engine and put it back together (even if most maintenance tasks can be done just as well by someone who hasn't, since the computer engine check is the thing doing the analysis in either case)... I think there's still value in the AI coding world for those who know how the whole stack works and can demonstrate that.
We live in interesting times.
Very interesting article. Would've been fun to see the comparison between native interpreter & JIT-on-WASM on iOS as well
So it's a JIT-in-JIT? JiJIT?
bebenebenebeb
today at 3:47 PM
[dead]
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
Here's a nickel kid. Go buy yourself a real computer.
switchbak
today at 4:49 PM
Good thing I'm not running games on my 4gb Pentium 4 then.