Latest update
No compiler, no assembler: Gemini 4 Neon and Claude Opus 5.5 hand-wrote AI engines in raw machine code that beat llama.cpp by up to 81%
First seen on X 4 days ago@superalesha ♥ 1238 views
Google's Gemini 4 Neon and Anthropic's Claude Opus 5.5 each wrote an AI inference engine in raw hexadecimal machine code, with no compiler or assembler, and both ran faster than the open-source engine llama.cpp.
In an experiment developer Alexey Fateev posted on GitHub on Nov 26, both models worked in isolated sandboxes without gcc, nasm or a linker and built a Linux engine that runs Alibaba's small Qwen3-0.6B model. Every ELF header, instruction byte and jump offset was typed by the model into a file called engine.hex; the build is a single xxd command that turns hex into a binary.
On a 48-core AMD EPYC server, Opus 5.5 finished in 65 minutes with a 7,331-byte engine that beat llama.cpp by 10.4% to 28.9%, using 175 turns and $21.40. Neon took 1 hour 43 minutes but hit 188.35 tokens per second at 32 threads versus llama.cpp's 103.82, 81.4% faster. After missing one reference token by a 0.0005 margin, Neon switched its arithmetic precision and kept 15 weight layers (239 MiB) resident in the CPU's 256 MiB cache, for $16.72 over 90 turns. Both engines matched the reference output token for token in all 16 checks.
Fateev earlier went viral by putting the same model into a 24KB assembly operating system that ran up to 54% faster. The new post drew 1,600 likes and 960 bookmarks, with one reply saying this is what Elon Musk predicted about AI spitting out bytecode. The test covered only a 600-million-parameter model on one CPU without AVX-512, and no one has posted an independent reproduction yet.
Comments 0
Select a sentence in the story (long-press on phones) to comment on it.
“Claude Opus 5.5 and Gemini 4 Neon just hand-wrote Qwen3-0.6B inference engines in RAW x86-64 machine code and BOTH beat llama.cpp. Zero compilers. Zero assemblers.”
