
The Complete Guide to Linux Kernel Development for Beginners
A beginner guide to Linux kernel development: how the kernel works, a safe lab, reading source, kernel C, a first module, debugging and a first patch.
Bits, bytes and number representation, pointers, memory layout, data structures and algorithms, taught from first principles for people who build systems.

A beginner guide to Linux kernel development: how the kernel works, a safe lab, reading source, kernel C, a first module, debugging and a first patch.

Use C99 designated initializers to set struct fields and array slots by name, zero the rest and avoid uninitialized reads. Includes flags and pitfalls.

Unspecified, implementation-defined and undefined behavior are three different promises in C. Learn what each guarantees and how to tell them apart.

A cheat sheet of 15 kinds of undefined behavior in C, each with an example, the sanitizer message, the safe fix and when it is not a problem.

Reading or writing past the end of a C array is undefined, yet it often runs without a crash. See where the extra bytes come from and why that luck is a trap.

A hardware description language describes circuits that all run at once, not steps. See how concurrency, wires and registers change how you read Verilog.

Undefined behavior means the C standard sets no rules for a program, so anything can happen. Learn what it is, why C keeps it, and how to stay out of it.

A socket is a file descriptor for one end of a network conversation. Learn addresses, ports and the Berkeley sockets calls in C on Linux.

A complete guide to IEEE 754 floating point: formats, encoding, rounding, error, exceptions, FMA and compiler flags, with C code and exact output.

A complete guide to bits, bytes, binary, hex and octal for programmers, with conversions, binary arithmetic, masks, memory, ASCII and hex dumps worked in C.

Understand codecs and containers from raw pixels to files: compression, frame types, H.264, H.265, VP9, AV1, AAC, Opus, MP4, MKV, WebM, streaming and ffmpeg.

How virtual machines really work, from CPU privilege rings and VM exits to EPT, virtio, containers and confidential VMs, with C code you can read line by line.
We send one email when a new post is published. No spam.