Alexey Fateev, known as alesha-pro on GitHub, developed a 24KB bare-metal operating system written entirely in assembly language. This OS is designed to run large language models (LLMs) directly on hardware, bypassing traditional operating systems like Linux or Windows. The project, named "Bare-Metal Bootable Qwen3-0.6B OS," is shared for community use.
The Multiboot OS binary, asm-llm-os.elf, has a size of 24,252 bytes. It was written from scratch without relying on C, Rust, or libc. The OS supports 80x25 character color VGA displays, PS/2 keyboards, and serial communications. It can boot directly to its multi-turn chat interface in 74-94 milliseconds.
The assembly OS demonstrates performance gains when running the Qwen3-0.6B Q8_0 LLM, which is 649MB in size. Benchmarks comparing the assembly OS to a Linux installation running the same LLM via llama.cpp showed the assembly OS to be up to 54% faster. On an AMD EPYC 7642 system, 4 threads achieved 78.89 tok/s on the assembly OS versus 51.08 tok/s on Linux, representing a 54% increase. Even the lowest observed performance uplift was 31% with 16 threads.
The full MIT-licensed source code, an ISO builder, and a setup guide are available on GitHub at github.com/alesha-pro/llm.asm. For users who do not require bare-metal operation, a Linux-hosted version of the inference binary is also available, which is 14KB due to 10KB of savings from not needing certain components.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
A developer created a 24KB bare-metal operating system written in pure assembly language that boots in 74 milliseconds. This OS runs the Qwen3-0.6B LLM up to 54% faster than Linux running the same LLM via llama.cpp. The project is open-source and available for other developers to test and modify.