YOU ARE VIEWING ONE ITEM FROM THE AICRIER FEED

Zero-App OS runs 2.5B LLM, beats GCC -O3

AICrier tracks AI developer news across Product Hunt, GitHub, Hacker News, YouTube, X, arXiv, and more. This page keeps the article you opened front and center while giving you a path into the live feed.

// WHAT AICRIER DOES

7+

TRACKED FEEDS

24/7

SCRAPED FEED

Short summaries, external links, screenshots, relevance scoring, tags, and featured picks for AI builders.

Zero-App OS runs 2.5B LLM, beats GCC -O3
OPEN LINK ↗
// 3h agoOPENSOURCE RELEASE

Zero-App OS runs 2.5B LLM, beats GCC -O3

Developer Alexey Fateev (alesha-pro) released Zero-App OS v2.1, a 113 KB pure x86-64 NASM kernel that boots with zero disk or host OS, maps a fine-tuned 2.5B MiniCPM5-2B model over NVDIMM, and streams playable x86-64 assembly apps live into a Ring-3 sandbox. Written across 19,138 lines of handwritten assembly with zero C or gcc calls, the Apache 2.0 release also traps CPU faults in Ring 0 to self-patch crashing generated code in roughly 0.3 seconds.

// ANALYSIS

Stripping away Linux, C, and GCC to beat `-O3` on bare-metal CPU inference exposes how much overhead conventional software stacks carry—and turns an extreme systems stunt into a working prototype for self-healing, AI-native runtimes.

  • –Porting the last three C modules (`zapp_smp.c`, `zapp_llm.c`, `zapp_ai.c`) to handwritten NASM shrank `zero-app-os.elf` by 37.6% (181 KB to 115,160 bytes) while beating `GCC -O3` on a 20-thread AMD EPYC 7642 (`Q8_0`, 0% GPU) at 277.6 vs. 248.7 tok/s prefill (+11.6%) and 37.6 vs. 34.3 tok/s decode (+9.6%), matching C greedy output byte-for-byte.
  • –A bare-metal Longest-Common-Prefix KV-Cache cuts 2,354-token prompt prefill from 13.3 seconds to 93 ms (142.8x faster), and the diskless image runs on decade-old CPUs like a 2014 Intel Xeon E5-2670 v3 as long as AVX2, FMA, and F16C are present.
  • –Because pure SFT collapsed completely on held-out prompts (0/32 compiled), Fateev ran 120 steps of GRPO against 16 live QEMU KVM oracles checking clean assembly, 60-frame survival, animation, and input—lifting held-out zero-shot compile rates to 56.2% and validation `PATCH@1` to 90.0%.
  • –When sandboxed Ring-3 `W^X` code triggers a `#PF`, `#UD`, or `#DE` hardware exception, Ring 0 catches it, feeds the faulting line and `CR2` address back to the local model, and applies an average 11.8-token surgical patch (~0.3s), showing what closed-loop runtime recovery looks like when inference lives inside the kernel.
  • –As Fateev notes, this is a specialist micro-assembler for arcade and graphics prompts (`flappy bird`, `tetris`, `arkanoid`, `falling sand`), not a general-purpose OS or chatbot—extending his viral `llm.asm` repo (4,200+ GitHub stars in under a week) into runtime code synthesis.
// TAGS
zero-app-osllm-asmllmsmall-llminferencecode-generationquantizationopen-source

DISCOVERED

3h ago

2026-12-01

PUBLISHED

4h ago

2026-12-01

RELEVANCE

8/ 10

AUTHOR

0x0SojalSec