24KB pure-assembly OS bakes in Qwen3-0.6B, runs 54% faster than Linux llama.cpp
evilsocket · x · 2026-11-27
Developer superalesha built asm-llm-os.elf, a 24,252-byte Multiboot OS written from scratch in pure x86-64 assembly, with Qwen3-0.6B baked directly into the OS.
Key details:
- No Linux, Windows, C, Rust, or libc; boots in 74-94ms into 64-bit Long Mode
- Wakes every CPU core via APIC, maps 614 MiB of Q80 weights directly from physical RAM, and serves a live multi-turn KV-cache chat over VGA, PS/2 keyboard, and serial
- Head-to-head vs llama.cpp (Q80, -ngl 0) on the same AMD EPYC 7642: 1 thread 23.67 tok/s vs 16.63 (+42%); 4 threads 78.89 vs 51.08 (+54%)
More from Infra
- xnulinux compiles Apple's XNU kernel as a Linux module, boots macOS in 31 seconds — unixterminal · 2026-11-29
- ferrule-os: a ~1,900-LOC Rust microkernel that pushes even NIC drivers out of Ring 0 — prescott · 2026-11-29
- Greg Mushen mocks claim that orbiting satellites risk asteroid hits amid data center debate — gregmushen · 2026-11-29
- RSI's whole point is automated discovery of compute-efficient AI, argues teortaxesTex — teortaxesTex · 2026-11-29
- Huawei Atlas 150 AI card shown in detail, reportedly with Ascend 950PR inside — teortaxesTex · 2026-11-29
- Show HN: WebBrain, an open-source browser agent for local LLMs via Ollama and llama.cpp — webbrain-one · 2026-11-29