conv.

All stories
TechQuiet 12d · day 13

Developer Compiles Working NES Emulator Into Qwen LLM Weights

A programmer encoded a full Nintendo Entertainment System—CPU, RAM, and cartridge ROM—as pre-computed weights in a Qwen language model, running games by token prediction.

What to know

  • An NES emulator—complete with 6502 CPU, 2KB RAM, and cartridge ROM—runs entirely within ~1GB of pre-computed Qwen3.5-ForCausalLM weights; no training was involved.
  • The compiler-generated weights use the model's Gated DeltaNet state as addressable memory, with each token prediction advancing CPU execution; output matches conventional emulators exactly.
  • Performance trades efficiency for novelty: games run 150–290× slower than real hardware, taking 25 minutes to simulate 10 seconds of gameplay, illustrating the computational cost of using LLMs for deterministic tasks.
  • The project builds on Qwenputer (which compiled CHIP-8 and RISC-V into Qwen) and was assisted by Claude Opus 3.5, which generated working code from minimal prompts.

The dispute Whether this represents a genuine capability advance for LLMs or merely an inefficient proof-of-concept that underscores why deterministic computation should not use neural networks. · positions read across 19 posts and comments

many voices

Impressive technical achievement demonstrating LLM capability and Turing completeness.

  • “This is amazing, love it! Qwenputer is very cool too”

    nico · Hacker News ↗
many voices

A computationally inefficient curiosity that illustrates why deterministic programs beat AI for execution tasks.

  • “I love these hacks, even though from an efficiency point of view it is horrifying to my assembly-code-golfing-brain. And it also gives some new appreciation for how much more efficient deterministic programs are compared to AI.”

    jacquesm · Hacker News ↗
some voices

Interesting as a teaching tool about Turing completeness but not meaningful for practical applications.

  • “This is exactly like if someone implemented a CPU using nothing but CSS animations. Maybe a fun way to teach about turing completeness, but pretty meaningless otherwise.”

    woah · Hacker News ↗
some voices

Opens possibilities for compiling entire VMs and tools inside LLM weights for execution without external calls.

  • “In principle one could compile a small VM inside the LLM weights. The VM can host for example a Python interpreter, a shell and tools like sed, cat, grep etc.”

    armcat · Hacker News ↗

dbreunig DeveloperDivyansh Agrawal Qwenputer creator

Developer Compiles Working NES Emulator Into Qwen LLM Weights
github.com

How it unfolded 1 development · click the chart to see its coverage articlespostscomments

Peak 20 pieces in 3h at Oct 30, 12 PM; 24 pieces over 13 days (2 articles · 3 posts · 19 comments) Oct 30, 12 PM — 20 pieces · 2 articles · 3 posts · 15 comments — Hacker News 16, Newswires 2, Mastodon 2Oct 30, 3 PM — 2 pieces · 2 comments — Hacker News 2Oct 30, 6 PM — quietOct 30, 9 PM — 1 piece · 1 comment — Hacker News 1Oct 31, 12 AM — quietOct 31, 3 AM — quietOct 31, 6 AM — quietOct 31, 9 AM — 1 piece · 1 comment — Hacker News 1Oct 31, 12 PM — quietOct 31, 3 PM — quietOct 31, 6 PM — quietOct 31, 9 PM — quietNov 1, 12 AM — quietNov 1, 2 AM — quietNov 1, 5 AM — quietNov 1, 8 AM — quietNov 1, 11 AM — quietNov 1, 2 PM — quietNov 1, 5 PM — quietNov 1, 8 PM — quietNov 1, 11 PM — quietNov 2, 2 AM — quietNov 2, 5 AM — quietNov 2, 8 AM — quietNov 2, 11 AM — quietNov 2, 2 PM — quietNov 2, 5 PM — quietNov 2, 8 PM — quietNov 2, 11 PM — quietNov 3, 2 AM — quietNov 3, 5 AM — quietNov 3, 8 AM — quietNov 3, 11 AM — quietNov 3, 2 PM — quietNov 3, 5 PM — quietNov 3, 8 PM — quietNov 3, 11 PM — quietNov 4, 2 AM — quietNov 4, 5 AM — quietNov 4, 8 AM — quietNov 4, 11 AM — quietNov 4, 2 PM — quietNov 4, 5 PM — quietNov 4, 8 PM — quietNov 4, 11 PM — quietNov 5, 2 AM — quietNov 5, 5 AM — quietNov 5, 8 AM — quietNov 5, 11 AM — quietNov 5, 2 PM — quietNov 5, 5 PM — quietNov 5, 8 PM — quietNov 5, 11 PM — quietNov 6, 2 AM — quietNov 6, 5 AM — quietNov 6, 8 AM — quietNov 6, 11 AM — quietNov 6, 2 PM — quietNov 6, 5 PM — quietNov 6, 8 PM — quietNov 6, 11 PM — quietNov 7, 2 AM — quietNov 7, 5 AM — quietNov 7, 8 AM — quietNov 7, 11 AM — quietNov 7, 2 PM — quietNov 7, 5 PM — quietNov 7, 8 PM — quietNov 7, 11 PM — quietNov 8, 2 AM — quietNov 8, 5 AM — quietNov 8, 8 AM — quietNov 8, 11 AM — quietNov 8, 2 PM — quietNov 8, 5 PM — quietNov 8, 8 PM — quietNov 8, 11 PM — quietNov 9, 2 AM — quietNov 9, 5 AM — quietNov 9, 8 AM — quietNov 9, 11 AM — quietNov 9, 2 PM — quietNov 9, 5 PM — quietNov 9, 8 PM — quietNov 9, 11 PM — quietNov 10, 2 AM — quietNov 10, 5 AM — quietNov 10, 8 AM — quietNov 10, 11 AM — quietNov 10, 2 PM — quietNov 10, 5 PM — quietNov 10, 8 PM — quietNov 10, 11 PM — quietYesterday, 2 AM — quietYesterday, 5 AM — quietYesterday, 8 AM — quietYesterday, 11 AM — quietYesterday, 2 PM — quietYesterday, 5 PM — quietYesterday, 8 PM — quietYesterday, 11 PM — quietToday, 2 AM — quietToday, 5 AM — quietToday, 8 AM — quietToday, 11 AM — quietToday, 2 PM — quietToday, 5 PM — quiet 1
Oct 31Nov 1Nov 2Nov 3Nov 4Nov 5Nov 6Nov 7Nov 8Nov 9Nov 10now · 8:35 PM ET
  1. 1

    Dbreunig explains Claude Opus 3.5 assisted the project with minimal prompts

    In a Hacker News comment, dbreunig notes that Anthropic's Claude Opus 3.5 generated working weights and code from just two prompts referencing the Qwenputer article and asking whether an NES could be emulated using the same technique.

    “Nobody trained these weights; a compiler computed every one. When you play a game, the model predicts the CPU's execution log one token at a time.”
    — dbreunig, Developer · source
    • A couple thoughts on the process here…First off, Opus 5.5 built working weights and code with only two prompts:1. Read this article and any relevant source code: https://divagr.com/blog/qwenputer. Then explore if you could emulate the chip and ram in a Nintendo Entertainment System (as people do today with FPGAs in MISTRs) using this technique. If…

      dbreunigHacker News13d agoview on Hacker News ↗
    2 more of the top 3 · 19 posts in this stretch
    • > A while back I saw some people saying we would just have LMMs hallucinate an entire operating system every single frame. I guess technically it's now proven to be technically possible, but it would be thousands of times slower while requiring thousands of times more compute (a multi-million x difference from an ordinary OS!).Gosh. That would be…

      ben_wHacker News13d agoview on Hacker News ↗
    • This opens up so many interesting opportunities. In principle one could compile a small VM inside the LLM weights. The VM can host for example a Python interpreter, a shell and tools like sed, cat, grep etc. Instead of LLMs having to do slow autoregressive token emission with the current "external" tool calling, it could literally execute…

      armcatHacker News13d agoview on Hacker News ↗
    all of them →
  2. background

    Dbreunig publishes nesformer: NES emulator compiled into Qwen weights — A GitHub repository and accompanying technical post describe a novel approach: compiling the NES hardware (CPU, RAM, cartridge) into pre-computed Qwen3.5-ForCausalLM weights without training. The model's Gated DeltaNet architecture serves as the machine's memory, with each token prediction advancing CPU execution.

Also covered reported alongside — the timeline has no entry for these yet

  1. first by HN Best, 13d ago · also HN Frontpage

    1 more headline

What people are saying 16 voices from 1 site · best of 19 · verbatim