# phil-opp/blog_os

Writing an OS in Rust

Repository: https://github.com/phil-opp/blog_os
Canonical: https://ross.abutalabs.com/products/blog_os
Homepage: http://os.phil-opp.com
Language: HTML
License: Apache-2.0
License Family: permissive
Topics: kernel, rust, operating-system, x86-64
Last push: 2026-08-07T16:50:50+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 35, longevity 100
- inputs: {"age_days": 4059, "days_push": 26, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 17687, forks 1208 (observed 2026-08-28T04:11:20.174469+00:00)

## What it is
A blog series and accompanying source code that teaches how to write a small operating system kernel in Rust, covering freestanding binaries, VGA text mode, interrupts, paging, heap allocation, and async/await. Each post is a step-by-step tutorial with code available in per-post git branches.

## Use cases
- learn how to write an operating system kernel in Rust
- tutorial for building a bare-metal Rust kernel
- understand paging and memory management in an OS
- learn how CPU exceptions and hardware interrupts work
- implement a custom heap allocator
- get started with no_std Rust development
- study async/await at the kernel level

## When to choose
- you want a guided, step-by-step introduction to OS development in Rust
- you prefer tutorials with complete, runnable code for each stage
- you want to learn bare-metal no_std Rust and QEMU-based testing

## When to avoid
- you need a production-ready or general-purpose operating system
- you want a full-featured OS with drivers, filesystems, or userland
- you are not interested in low-level systems programming

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: documentation, developer-tools
- domain: operating-systems, tutorials, programming-languages
- platform: rust, windows, cross-platform
- tags: osdev, kernel-development, rust, x86-64, blog-series, no-std, bare-metal, qemu, linux, macos

## Member repositories
- phil-opp/blog_os (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:20.174469+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:02:29.834723+00:00, confidence not recorded.
  - readme: https://github.com/phil-opp/blog_os (fetched 2026-08-28T04:11:20.174469+00:00, sha 2adab5e7ed67)
  - homepage: http://os.phil-opp.com (fetched 2026-08-29T08:00:39.290288+00:00, sha 5dddddd307a5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
