logoalt Hacker News

Claude wrote a functional NES emulator using my engine's API

55 pointsby delducatoday at 1:07 PM53 commentsview on HN

Comments

worbletoday at 2:25 PM

I'd be curious in how well it passes 100th Coin's NES accuracy tests https://github.com/100thCoin/AccuracyCoin

show 2 replies
zorkedtoday at 2:12 PM

Nice, but NES emulator is one of the most written pet projects anywhere, which makes it considerably less impressive.

show 3 replies
keyletoday at 2:28 PM

Who care what it did. What did you learn? To live is to learn.

show 5 replies
ceberttoday at 2:01 PM

It’s a shame that the source code isn’t commented and documented more. At the very least, I would see it being helpful to add some documentation for every CPU op code being emulated.

show 3 replies
swannodettetoday at 3:13 PM

WASM and the performance seems catastrophically bad (45ms to render a frame on an M4 laptop)? It would be much more impressive if Claude could optimize it into something that someone would actually want to play? Compare this to a random hit from Google, https://jsnes.org/ which has sound, much smaller payload, and runs really fast (<1ms to render a frame).

The cost of slop is >40X drop in performance? Pick any metric that you care about for your domain perhaps that's what you're going to lose and is the effort to recover that practical with current vibe-coding strategies?

Y_Ytoday at 2:03 PM

Git wrote a functional NES emulator for me by simply cloning one of the many publicly available ones!

show 3 replies
deadbabetoday at 3:47 PM

I will be impressed when new game consoles come to market and it can write the first emulator for it.

cgfjtynzdrfhttoday at 2:33 PM

Trained on 1000s of NES emulators, it's not really impressive.

Github alone has +4k NES emulator projects: https://github.com/search?q=nes%20emulator&type=repositories

This is more like "wow, it can quote training data".