Student rewrites early Linux kernel in Rust amid AI coding fight
linux-0.11-rs recreates Linux 0.11 in Rust, with code analysis suggesting a 47,000-line project and signs of AI assistance.
By Renata Fuchs · Policy Reporter
· 3 min read
A Beihang University undergraduate using the handle Poseidon has published linux-0.11-rs, a Rust reimplementation of Linux kernel 0.11, a 1991-era release from the project’s first year. The timing drew attention because Linus Torvalds had recently told critics of AI-related work around Linux that they were free to fork the kernel, though this project is not presented as a direct answer to that challenge.
The project is also not a fork of the current Linux kernel. It is not even a port of modern Linux into Rust. It is a rewrite of Linux 0.11, an early kernel dated Dec. 8, 1991, released only a few months after Linux 0.01 and before the project’s versioning moved through 0.12 in January 1992 and 0.95 in March 1992 on the way to Linux 1.0 two years later.
That makes linux-0.11-rs more of a historical systems-programming exercise than an attempt to replace anything in production. No company, funding, deployment plan or commercial backer has been disclosed. The point of interest for developers and platform teams is narrower: a student has used Rust, and apparently some AI assistance, to recreate a small but symbolically important kernel from Linux’s earliest period.
Linux 0.11 was notable in the project’s own history because Torvalds described it at the time as the first kernel release where other contributors began making substantial contributions. In that release note, Torvalds also said the kernel had become more capable than Minix, the teaching operating system that formed part of the backdrop for Linux’s creation. The release is also remembered as the period when Theodore Ts’o appeared as a contributor.
The Rust version is far larger than the original early-1990s codebase. On Hacker News, users examined the repository and discussed its size and likely development process. One user, dminik, said an automatic code analysis using Pajecawav’s Ghloc counted just over 47,000 lines of Rust. According to dminik’s breakdown, about 15,000 lines are kernel code, while the remainder covers utilities, libraries and programs that can run on the recreated system.
That distinction matters because the repository appears to be broader than a bare kernel rewrite. It includes parts of the surrounding operating environment as it existed around the end of Linux’s first year, according to the discussion of the project.
The project’s provenance is less tidy. The code appears to show signs of AI-generated assistance, according to the commentary around it, but Poseidon also credits a tutorial on writing an operating system kernel in Rust. That credit suggests the work was not only a prompt-and-output exercise, though the exact role of AI tooling has not been detailed.
Reaction from Hacker News was mixed. Some commenters dismissed the work as a waste of compute resources, tokens, water and electricity. Others treated it as the kind of educational experiment students are likely to try while code-generating tools remain widely available and inexpensive.
For the Rust and kernel communities, the project does not change the standing debate over Rust inside Linux or the role of AI-generated code in infrastructure projects. It does add a concrete artifact to that debate: a large, student-built Rust recreation of a 35-year-old kernel, interesting as a learning project and unlikely to be mistaken for an operating system roadmap.
This story draws on original reporting from The Register.