frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Codex builds a working NES Emulator in one hour

https://github.com/kaonashi-tyc/codex-nes-emulator
6•zi2zi-jit•4h ago
Hi folks! I know NES emulators have been implemented countless times, in practically every language imaginable.

However, having an LLM fully replicate the spec purely from memory—without referencing existing code—is still a significant challenge. It requires the underlying model to have strong anti-hallucination capabilities and solid long-term planning to keep from going astray. Because of this, building an NES emulator makes for an excellent LLM stress test.

Here is how the emulator was built:

Data Gathering: I asked Codex to download the necessary developer manuals and test suites. It was strictly prohibited from searching for reference implementations online.

Development: I instructed Codex to build the emulator until all test suites passed. This process was mostly hands-free; I only chimed in to encourage it to continue when it paused.

First Draft: After just 4-5 prompts, Codex delivered a functional, pure-Python emulator—though it ran at a sluggish 7 FPS.

Optimization: Asking Codex to optimize the app completely on its own didn't work this time. Instead, I had it generate a flamegraph, which identified the PPU update as the bottleneck. I then instructed Codex to rewrite the PPU in Cython without breaking the passing tests.

Overall, I'm incredibly impressed by Codex. I already knew it was capable of the task, but the speed was astonishing. It finished the project in under an hour, using merely 2% of my weekly Pro quota.

While the NES might be a relatively easy system to emulate, I think emulation could serve as a fantastic benchmark for testing future LLMs.

Comments

nunobrito•3h ago
Quite amazing. This opens doors to many other emulators because now it can replicate quite nicely what is expected as output.
zi2zi-jit•3h ago
Totally agree. I am looking to build something more complex next, something like PS1 in a different language as test. That would require significant more effort but with the speed of how model gets improved I am optimistic.
nunobrito•1h ago
It seems the most difficult topic is automating the performance optimizations.

For example: "I've run this task on real hardware and took 5 seconds, keep optimizing and iterating until you achieve similar values"

I'd love seeing a linux emulator running on DART simply because it removes the need for dependencies on each platform.

qsera•2h ago
Can you try to vibe code an AI shill detector next?

Show HN: Terminal Phone – E2EE Walkie Talkie from the Command Line

https://gitlab.com/here_forawhile/terminalphone
114•smalltorch•3h ago•27 comments

Show HN: Agent Swarm – Multi-agent self-learning teams (OSS)

https://github.com/desplega-ai/agent-swarm
29•tarasyarema•1h ago•13 comments

Show HN: Riverse – persistent AI memory that grows with you, no RAG

https://github.com/wangjiake/JKRiver
2•collenjk•42m ago•0 comments

Show HN: Modern Reimplementation of the Speck Molecule Renderer

https://github.com/vangelov/modern-speck
11•vlad_angelov•4d ago•1 comments

Show HN: Respectify – A comment moderator that teaches people to argue better

https://respectify.org/
190•vintagedave•23h ago•191 comments

Show HN: I built this toolbox with AI – never wrote a line myself

https://tool.hikun.me/ko
2•harrykoreanlee•2h ago•0 comments

Show HN: Parallel rsync launcher with fancy progress bars

https://github.com/overflowy/parallel-rsync
2•overflowy•2h ago•0 comments

Show HN: A real-time strategy game that AI agents can play

https://llmskirmish.com/
208•__cayenne__•1d ago•74 comments

Show HN: I ported Tree-sitter to Go

https://github.com/odvcencio/gotreesitter
211•odvcencio•19h ago•96 comments

Show HN: OpenSwarm – Multi‑Agent Claude CLI Orchestrator for Linear/GitHub

https://github.com/Intrect-io/OpenSwarm
33•unohee•11h ago•19 comments

Show HN: Clocksimulator.com – A minimalist, distraction-free analog clock

https://www.clocksimulator.com/
118•user_timo•23h ago•89 comments

Show HN: PyMOL-RS – Rust reimplementation of PyMOL with modern rendering

https://github.com/zmactep/pymol-rs/releases/tag/v0.1.0
3•zmactep•3h ago•1 comments

Show HN: I built an AI that turns emailed PDFs into ledger entries in 60s

https://baguno.app
2•lakma•3h ago•1 comments

Show HN: Django Control Room – All Your Tools Inside the Django Admin

https://github.com/yassi/dj-control-room
125•yassi_dev•23h ago•53 comments

Show HN: Codex builds a working NES Emulator in one hour

https://github.com/kaonashi-tyc/codex-nes-emulator
6•zi2zi-jit•4h ago•4 comments

Show HN: ZSE – Open-source LLM inference engine with 3.9s cold starts

https://github.com/Zyora-Dev/zse
56•zyoralabs•12h ago•7 comments

Show HN: Unix for the Commodore 64? Open Source

https://github.com/ascarola/c64ux/releases/tag/v0.7
13•ascarola•13h ago•5 comments

Show HN: Skillscape – Engineering skills matrix without the spreadsheet

https://www.skillscape.dev/
2•danielyefet•6h ago•0 comments

Show HN: Moonshine Open-Weights STT models – higher accuracy than WhisperLargev3

https://github.com/moonshine-ai/moonshine
311•petewarden•1d ago•74 comments

Show HN: Scheme-langserver – Digest incomplete code with static analysis

https://github.com/ufo5260987423/scheme-langserver
50•ufo5260987423•2d ago•2 comments

Show HN: Sgai – Goal-driven multi-agent software dev (GOAL.md → working code)

https://github.com/sandgardenhq/sgai
31•sandgardenhq•21h ago•19 comments

Show HN: PgDog – Scale Postgres without changing the app

https://github.com/pgdogdev/pgdog
321•levkk•2d ago•61 comments

Show HN: Emdash – Open-source agentic development environment

https://github.com/generalaction/emdash
200•onecommit•1d ago•71 comments

Show HN: enveil – hide your .env secrets from prAIng eyes

https://github.com/GreatScott/enveil
199•parkaboy•2d ago•129 comments

Show HN: Nullroom.io – Experimental, stateless P2P messaging and file sharing

https://www.nullroom.io/
2•vdw•7h ago•0 comments

Show HN: Django-xbench – slow endpoint aggregation for Django

https://github.com/yeongbin05/django-xbench
10•yeongbin05•4d ago•4 comments

Show HN: Sowbot – Open-hardware agricultural robot (ROS2, RTK GPS)

https://sowbot.co.uk/
180•Sabrees•2d ago•45 comments

Show HN: Babyshark – Wireshark made easy (terminal UI for PCAPs)

https://github.com/vignesh07/babyshark
147•eigen-vector•2d ago•47 comments

Show HN: AI Timeline – 171 LLMs from Transformer (2017) to GPT-5.3 (2026)

https://llm-timeline.com/
169•ai_bot•3d ago•57 comments

Show HN: Linex – A daily challenge: placing pieces on a board that fights back

https://www.playlinex.com/
5•Humanista75•1d ago•5 comments