A NES emulator in Odin that runs Battletoads perfectly

A NES emulator written in Odin

A NES emulator in Odin that runs Battletoads perfectly

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.

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.
  1. boltzmann64

    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.

  2. AdmiralAsshat

    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."

  3. anthk

    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.

  4. reilly3000

    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.

More from this day

2026-11-15