Systems

Operating Systems

The software that manages hardware and runs everything else — the layer between bare silicon and every program you use.

An OS is the program that never stops running. It decides which process gets the CPU and when, hands out and protects memory, abstracts away the thousand kinds of disk and network hardware behind clean interfaces, and enforces the boundaries that stop one buggy program from taking down the machine. Build one and you stop seeing computers as magic — you see scheduling queues, page tables, interrupt handlers, and syscalls. It is the most direct way to understand what a computer actually is.

Difficulty
Math intensity
Capital needed
Momentum
Maturitymature
First win ina few weeks
A

Orientation

The frontier question

Can we build a full, performant, general-purpose OS that is mathematically proven correct — and do it for a world where AI models are a managed system resource like memory or CPU?

What it unlocks

Every other field runs on an OS. Advances here mean more secure devices (memory-safe kernels kill whole classes of exploits), better battery life and performance (smarter scheduling for heterogeneous chips), and new computing paradigms — the OSes for spatial computing, for AI-as-a-system-resource, and eventually for quantum and neuromorphic machines all have to be invented.

Where we are now

As of 2026 the frontier is memory-safe kernels (Rust in Linux and Windows), AI as a first-class OS resource (Microsoft's Windows AI Runtime / HAIEnv announced at Build 2026), and capability-based microkernels (seL4, Google's Fuchsia/Zircon shipping in real devices). The general-purpose desktop OS is a solved product; the live research is in security, verification, and rethinking the OS for AI and new hardware.

How it began

Early machines ran one program at a time, loaded by hand. As compute got expensive, batch systems and then time-sharing (letting many users share one machine) drove the first real OSes. Unix (1969, Bell Labs) crystallized the ideas that still dominate: everything is a file, small composable tools, a portable kernel written in C. Almost everything since is a variation on, or reaction to, Unix.

  1. 1969 — Unix at Bell Labs (Thompson, Ritchie)
  2. 1985 — Windows; 1987 — MINIX (teaching OS)
  3. 1991 — Linux kernel released by Linus Torvalds
  4. 2007 — iOS; 2008 — Android (both Unix-lineage)
  5. 2009 — seL4: first formally-verified kernel
  6. 2020s — Rust enters the Linux & Windows kernels for memory safety
B

The Journey

Prerequisites

Solid C (and increasingly Rust)Comfort with the command line and a debuggerBasic computer architecture — registers, memory, interruptsPatience for low-level debugging where there is no safety net
  1. 1

    Beginner

    1–3 months alongside other study

    You understand processes, threads, virtual memory, and syscalls as a user of the OS. You can write multi-threaded programs, reason about deadlocks, and use strace/dtrace to watch what the kernel does.

    • ▸Read & internalize OSTEP (the free textbook)
    • ▸Write a shell that handles pipes and job control
    • ▸Use strace/ltrace to trace a real program's syscalls
  2. 2

    Intermediate

    3–6 months of focused hobby work

    You can write a tiny kernel that boots on QEMU: it prints to screen, handles a keyboard interrupt, sets up paging, and switches between two tasks. You understand the bootloader → kernel handoff.

    • ▸Boot a 'hello world' kernel in QEMU
    • ▸Implement interrupt handling and a basic memory allocator
    • ▸Cooperative multitasking between two processes
  3. 3

    Advanced

    1–2 years of serious work

    You contribute to a real kernel (Linux, BSD, Redox) or build a hobby OS with a filesystem, preemptive scheduling, and userspace programs. You can read and reason about real driver code and subsystem internals.

    • ▸Land a patch in the Linux kernel or a BSD
    • ▸Write a working filesystem and a device driver
    • ▸Port your OS to real hardware, not just an emulator
  4. 4

    Too Advanced

    Many years; usually a PhD or deep industry track

    You work on kernel subsystems professionally or research novel OS architectures — formal verification (seL4-style), new isolation models, schedulers for heterogeneous or AI hardware, or unikernels.

    • ▸Co-author an OSDI/SOSP paper
    • ▸Maintain a kernel subsystem
    • ▸Design a novel scheduler or memory model
  5. 5

    Beyond

    Career-defining, field-shaping work

    You invent the OS for a paradigm that doesn't have one yet — AI-native kernels where a model is the scheduler, OSes for quantum or neuromorphic substrates, or fully-verified systems that close the gap between 'tested' and 'proven'.

    • ▸Define a category, not just a product
    • ▸Verified general-purpose OS at scale
    • ▸An OS where AI is a managed resource end-to-end
C

AI's Role

Two directions. First, AI as a tool to build OSes — scaffolding drivers, parsing kernel panics, generating tests, porting code between architectures. Second, and bigger, AI as something the OS must now manage: local model catalogs, shared inference runtimes (Windows AI Runtime), and scheduling that predicts user intent rather than round-robining blindly.

What AI still can't do

AI cannot be trusted to write kernel code unreviewed — a plausible-looking off-by-one or race condition means data corruption or a panic, not a red squiggle. Hardware-specific assembly and novel architecture decisions still require deep human understanding.

The AI-native future

A kernel that uses a learned model to schedule processes by predicted intent, pre-warms apps before you switch to them, manages AI models as first-class resources alongside RAM and CPU, and reasons about security in terms of whether an action makes sense rather than static permission bits.

D

Doing the Work

Tools & stack

C and RustQEMU (emulator) + GDB (debugger)x86-64 / ARM / RISC-V assemblyNASM, GNU toolchain, MakeBochs, the OSDev toolchain, Limine/GRUB bootloaders

Cost to start

$0 — everything runs in QEMU on the laptop you already own.

Cost to go deep

Low. A Raspberry Pi or cheap RISC-V board (~$10–80) to run your OS on real hardware; otherwise it stays a software-only pursuit.

Projects ladder

lvl 1 beginner

Build a Unix shell

Handle pipes, redirection, background jobs, and signals. Teaches processes and syscalls intimately.

lvl 1 beginner

Implement a memory allocator

Write your own malloc/free. Forces you to understand the heap.

lvl 2 intermediate

Boot a kernel in QEMU

Bootloader → kernel handoff, VGA text output, keyboard interrupt, paging. The classic rite of passage.

lvl 2 intermediate

Cooperative multitasking

Two tasks yielding to each other via a context switch you wrote by hand.

lvl 3 advanced

Filesystem + driver

A working FS and a real device driver, then port to a Raspberry Pi.

lvl 3 advanced

Land a Linux kernel patch

Fix a real bug or driver issue and get it merged upstream.

Where to practice

  • ·QEMU / Bochs emulators
  • ·The OSDev Wiki tutorials
  • ·Writing an OS in Rust (Philipp Oppermann's blog series)
  • ·xv6 — MIT's teaching OS you can read end-to-end
  • ·Linux kernel via a VM + KGDB
E

People & Community

People to know

KT
Ken Thompson & Dennis Ritchiepioneer

Created Unix and C

LT
Linus Torvaldspioneer

Created Linux and Git

AT
Andrew Tanenbaumpioneer

MINIX; foundational OS textbooks

GH
Gernot Heiserleader

Led seL4, the first verified kernel

R
Remzi & Andrea Arpaci-Dusseauleader

Authored OSTEP, the field's best free textbook

AL
Asahi Lina / Hector Martinrising

Reverse-engineered Apple Silicon for Linux (Asahi)

Institutions & labs

  • ·MIT PDOS, Stanford, UW, UC Berkeley (systems groups)
  • ·Linux Foundation; the kernel mailing list (LKML)
  • ·Microsoft Research, Google (Fuchsia), Apple
  • ·Data61 / CSIRO (seL4)

Where the field gathers

  • ·OSDI & SOSP (the top OS research conferences)
  • ·EuroSys, USENIX ATC, HotOS
  • ·Linux Plumbers Conference, FOSDEM

Communities

forum · OSDev.org forums & Wikidiscord · OSDev Discordsubreddit · r/osdevother · Linux Kernel Mailing List (LKML)

Voices to follow

How to get in

Start on the OSDev Wiki, get a 'hello world' kernel booting in QEMU, and hang out in r/osdev and the OSDev Discord posting your progress. To go pro, pick a 'good first issue' on the Linux kernel or a BSD and submit a patch — the mailing-list review will teach you more than any course.

F

Career & Economics

Roles

Kernel / systems engineerEmbedded / firmware engineerHypervisor & virtualization engineerOS security researcherPerformance engineer

Who hires

Apple, Microsoft, Google, Amazon, NVIDIA, Qualcomm, Red Hat, chip and embedded companies, and any firm with serious infrastructure or hardware.

Compensation reality

Among the best-paid software niches because the talent pool is small and the work is hard. Senior kernel/systems engineers command top-of-band compensation; it rewards depth over breadth.

Funding landscape

Mostly big-company and open-source rather than startups, though OS-adjacent startups (unikernels, confidential computing, novel runtimes, AI-OS infrastructure) get funded in waves.

G

Is It For You?

You'll love it if

  • ✓You want to know how things really work, all the way down
  • ✓You enjoy debugging with almost no safety net
  • ✓Elegant abstractions over messy hardware delight you
  • ✓You're patient and methodical

You'll bounce off it if

  • ✕You want fast visible results and quick feedback loops
  • ✕Debugging triple-faults and silent memory corruption sounds miserable
  • ✕You prefer building user-facing features

Day in the life

Reading dense subsystem code, reproducing a heisenbug that only appears under specific timing, staring at register dumps and page tables, writing careful patches, and arguing correctness on a mailing list. Long stretches of deep focus punctuated by the rush of finally understanding why the machine did what it did.

Hobby · career · calling

A fantastic hobby for the deeply curious (a booting toy kernel is a lifetime achievement), a lucrative and durable career for the patient, and a calling for the few who want to invent the OSes of paradigms that don't exist yet.

H

Learn It

Books

Courses

  • MIT 6.1810 (Operating System Engineering)

    Build on xv6; materials are public.

  • Georgia Tech OMSCS — Advanced Operating Systems

    Graduate-level, accessible online.

Papers

  • The UNIX Time-Sharing System (1974) · Ritchie & Thompson
  • seL4: Formal Verification of an OS Kernel (2009)

    The verification landmark.

The free path from zero

OSTEP (free) → Philipp Oppermann's 'Writing an OS in Rust' (free) → MIT 6.1810 labs on xv6 (free) → a 'good first issue' on the Linux kernel. Total cost: $0.

I

Connections

J

Reality Check

Hype vs reality

Less hype than AI, more permanence. Nobody's promising OS dev will make you rich overnight, but the skills compound for decades and never go stale — the fundamentals from 1974 still apply.

Why people quit

The feedback loop is brutal at first: a single wrong byte gives you a silent reboot with no error message. Many bounce off the early difficulty before the mental model clicks.

Controversies

The C-vs-Rust kernel debate is genuinely heated (memory safety vs. decades of C culture). Open-source governance and corporate influence over Linux are perennial tensions.

Geographic hubs

Silicon Valley (Apple, Google, big infra)Seattle (Microsoft)Cambridge UK & Sydney (verification research)Distributed — the kernel community is global and remote-first