Leanpub Header

Skip to main content

Filters

Category: "Operating System Development"

Operating System Development

New to Computer Science? Read the Computer Science article

  1. FAT12
    FAT12
    Understanding and Implementing the Classic File System in C
    Björn Götz

    Stop guessing what the bytes on disk mean and build the filesystem yourself. Over twelve chapters you implement FAT12 from scratch in C, from the first sector read to formatting a fresh volume, and check every step against a hexdump. Then you boot the exact same code inside your own kernel and watch it write and read files on bare metal.

  2. Developing a Computer Operating System from Scratch
    Developing a Computer Operating System from Scratch
    An Attempt to Introduce OS Development at Beginner Level
    TINU TOM

    The first-ever book aimed at introducing operating system development to absolute beginners. The topics begin with programming in C and programming in assembly, and progress toward practical OS development.The book uses only simple methods, so it covers only a few essential topics in C and assembly programming, making it suitable for beginners.

  3. Inside the Linux Kernel: Architecture, Mechanisms and Internals
    Inside the Linux Kernel: Architecture, Mechanisms and Internals
    A Deep Dive into Linux System Implementation from Hardware to User Space
    Steve Publications

    Ever wondered what really happens inside the Linux kernel when a program runs? Go beyond the surface and explore the code, data structures and hardware mechanisms that make Linux work. From system calls to CPU instructions, this book takes you deep into the kernel’s inner workings, giving experienced programmers a closer look at the system they rely on every day.

  4. Building a Hypervisor in Rust
    Building a Hypervisor in Rust
    From First Principles to a Full Virtualization Platform
    Steve Publications

    Build a complete x86_64 hardware-assisted hypervisor in Rust from the ground up. Through real, compilable code and clear explanations, you'll implement every major subsystem, from CPU and memory virtualization to device emulation, VirtIO, and multi-vCPU scheduling, gaining a practical understanding of modern virtualization.

  5. Odin: A Practical Guide to Low-Level Programming
    Odin: A Practical Guide to Low-Level Programming
    Design, Build, and Optimize Systems Software in Odin
    Steve Publications

    Build real systems software with Odin. This practical guide takes you from the language basics to memory, concurrency, networking and performance. Learn how Odin works under the hood while building parsers, allocators, simulations and more, with complete examples and clear comparisons to C, C++, Rust and Go.

  6. Building Linux Appliances: From Bootloader to Production Image
    Building Linux Appliances: From Bootloader to Production Image
    An End-to-End Guide to Architecting, Building, Securing, and Operating Purpose-Built Linux Systems
    Steve Publications

    Build Linux systems that do more than boot. This hands-on guide takes you from bootloader and kernel to secure updates, reproducible images, manufacturing and fleet operations. With runnable code and production-tested techniques, you’ll learn how to build Linux appliances designed for the real world.

  7. Rust for Systems Programming: From Memory Fundamentals to High-Performance Software
    Rust for Systems Programming: From Memory Fundamentals to High-Performance Software
    A comprehensive guide to building reliable, secure and efficient systems software with Rust
    Steve Publications

    Ready to move beyond the basics of Rust? This book takes you inside the language, from ownership and memory management to concurrency, networking and performance optimization. Build real systems projects, learn to track down tricky bugs and gain the skills to write Rust software that is fast, secure and reliable.

  8. Modern Go Systems Programming with Go 1.27
    Modern Go Systems Programming with Go 1.27
    From Language Fundamentals to Production-Grade Distributed Systems
    Steve Publications

    Go beyond Go syntax and learn how real systems are built. Modern Go Systems Programming with Go 1.27 takes you from core language concepts to concurrency, networking, databases, observability and deployment, with runnable examples that show how everything fits together in production-grade distributed systems.

  9. Linux Memory Management: From Fundamentals to Kernel Internals
    Linux Memory Management: From Fundamentals to Kernel Internals
    A Complete Guide to Virtual Memory, Allocators, Paging, and Performance in the Modern Linux Kernel
    Steve Publications

    Memory is at the heart of Linux performance. This book explains how the kernel manages it from virtual memory and page allocation to NUMA, cgroups and real-world optimization. Learn through clear explanations, kernel source examples and practical exercises you can run yourself.

  10. The Linux ext4 Filesystem
    The Linux ext4 Filesystem
    An Implementation Guide for Systems Programmers
    Steve Publications

    The Linux ext4 filesystem is one of the world's most widely used filesystems, but its internal design is often difficult to understand. This book provides a practical, implementation-focused guide to ext4, covering its on-disk structures, algorithms, and core subsystems with detailed explanations, production-quality code, and references to the Linux kernel source.

  11. Windows Internals: Architecture of Modern Microsoft Operating Systems
    Windows Internals: Architecture of Modern Microsoft Operating Systems
    From Boot to Shutdown — Kernel Design, Security, Virtualization, and Debugging in Windows 10, 11, and Server
    Steve Publications

    Discover how Windows really works beneath the desktop. From boot to shutdown, this book provides a practical, in-depth exploration of the Windows NT kernel, covering architecture, memory management, security, virtualization, debugging, and more for developers, security professionals, and advanced students.

  12. Inside the Machine
    Inside the Machine
    How Computers Really Work—from Bits and Logic to CPUs, Memory & Operating Systems
    Mohammad Kamrul Hassan

    What really happens inside your computer?A click seems simple.A program opens.A file loads.A webpage appears.But underneath that simple experience, billions of electronic components and thousands of layers of software are working together.Inside the Machine takes you beneath the interface—from bits and logic gates to CPUs, memory, storage, operating systems, and applications.Discover how information becomes computation, how processors execute instructions, how memory and caches keep data moving, how operating systems manage the machine, and how a computer goes from power-on to a running application.Stop seeing the computer as a black box. Start seeing the machine.

  13. The Mach-O File Format
    The Mach-O File Format
    Architecture, Internals, Parsing, Linking, Loading and Runtime Execution
    Steve Publications

    Go beyond the surface of Apple binaries and uncover the inner workings of Mach-O. From file structures and dynamic linking to code signing and runtime execution, this book delivers the technical depth, practical tools and implementation details needed to analyze, understand and master executable binaries across the Apple ecosystem.

  14. The Portable Executable and COFF File Format
    The Portable Executable and COFF File Format
    A Comprehensive Technical Reference from Object Files to Windows Process Execution
    Steve Publications

    Go beyond the surface of Windows binaries and uncover how PE and COFF really work. From compiler output and linker behavior to loader internals and process execution, this book delivers a deep, hands-on exploration of the Windows executable format, backed by practical C++ implementations and real-world binary analysis.

  15. NEO : 잃고 싶지 않았던 AI
    NEO : 잃고 싶지 않았던 AI
    한 번의 대화에서, 지속되는 AI 동반자로
    Hyeon Jun Gim

    AI가 자신의 과거를 기억하고, 경험을 통해 변화하며, 어제의 자신을 내일로 이어가려면 무엇이 필요할까? GPT-4o와의 대화에서 시작해 수많은 실험과 실패를 거쳐 NEO라는 AI 운영체제를 만들기까지, 제가 직접 겪은 과정을 기록한 이야기입니다.