Fable 5 wrote a Windows kernel in 38 minutes
9 hours ago
- #Rust programming
- #Operating systems
- #AI-generated code
- The ntoskrnl-rs project successfully rewrote the Windows NT kernel in Rust, booting in QEMU and passing self-tests.
- Claude Fable 5 generated the core kernel (about 5,100 lines) in 38 minutes, including scheduling, memory management, and I/O subsystems.
- The kernel loads unmodified Windows drivers and binaries, providing a sandbox for analysis and debugging.
- Verification remains a bottleneck, as AI-authored code requires extensive testing for trust and correctness.
- Model choice matters: Fable excelled at greenfield generation, while Opus handled iterative debugging and security work.
- This demonstrates AI's potential to rewrite legacy critical infrastructure, reducing costs and memory-safety bugs.