# A NES emulator in Odin that runs Battletoads perfectly

Original title: A NES emulator written in Odin

> Hacker News story 50506588 · language: en · submitted 2026-11-15
> Web version: https://zeli.app/story/50506588
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 128 · by [frostbyte7](<https://news.ycombinator.com/user?id=frostbyte7>) · 💬 52
[original](<https://lucypero.com/lucynes.html>) · [HN discussion](<https://news.ycombinator.com/item?id=50506588>)

## Summary

Lucy Pero built lucyNES, a NES emulator in Odin, over seven months of spare-time work. It runs Battletoads and hundreds of other games with enough accuracy, and includes a debugger, save states, controller support, and a CRT shader. Pero found the last 10% of accuracy—timing, mappers, and hardware quirks—far harder than getting games to boot, and calls emulation genuinely difficult.

## Key quote

> I’ve seen some people say that making a NES emulator is a simple weekend project, and I frankly found that baffling. Because evidently, it’s not.

## HN discussion (52 comments)

### [boltzmann64](<https://news.ycombinator.com/item?id=50507605>)

> i love odin.
>
> \- manual memory management
>
> \- arena and pool allocators
>
> \- go style err!=nill style exception handling
>
> \- first class support for soa and vectorized simd, linear algebra and swizzling
>
> \- sanely typed and namespaces
>
> \- explicit unambigious overloading, subroutine context
>
> \- first class support for defer statements
>
> \- zero friction C ffi
>
> if you haven't heard of odin, you should definitely consider it.

### [AdmiralAsshat](<https://news.ycombinator.com/item?id=50508139>)

> It's always interesting when the article title betrays the author's origins. I assume the author speaks British English rather than American English, because they tended to pronounce "NES" and "SNES" as acronyms ("Ness" and "Sness"), while we Americans tended to treat them as initialisms ("En-ee-ess"). So to my American eyes, I would have expected "An NES emulator" instead of "A NES emulator."

### [anthk](<https://news.ycombinator.com/item?id=50507525>)

> Odin needs too recent LLVM versions to work. A pity this Reticulum client it's written on that,
>
> because if it were written in Go it would be instantly portable to legacy machines:
>
> https://github.com/Quad4-Software/Ren-TUI
>
> Reticulum in Go:
>
> https://github.com/Quad4-Software/Reticulum-Go
>
> On Odin itself, it looks really simple, and I'd love it
>
> if it were self-bootstrapable or compilable with just 
>
> a C99 compiler like cparser, cproc or TCC.

### [reilly3000](<https://news.ycombinator.com/item?id=50509486>)

> Among all of those interesting learnings, I suspect they will soon be learning the legal code too. Nintendo of America defends its IP ferociously and too excess.

---

## Cite

- Page: https://zeli.app/story/50506588
- Date: 2026-11-15
- Source: lucypero.com (https://lucypero.com/lucynes.html)
- Hacker News: https://news.ycombinator.com/item?id=50506588

## Other languages

- zh: https://zeli.app/zh/story/50506588 · markdown: https://zeli.app/zh/story/50506588.md
- ja: https://zeli.app/ja/story/50506588 · markdown: https://zeli.app/ja/story/50506588.md
- ko: https://zeli.app/ko/story/50506588 · markdown: https://zeli.app/ko/story/50506588.md
- de: https://zeli.app/de/story/50506588 · markdown: https://zeli.app/de/story/50506588.md
- es: https://zeli.app/es/story/50506588 · markdown: https://zeli.app/es/story/50506588.md
- ru: https://zeli.app/ru/story/50506588 · markdown: https://zeli.app/ru/story/50506588.md
