Building a Toy OS Kernel in Rust

Memory management and interrupt handling at the lowest level: with Rust's safety guarantees. This comprehensive curriculum is designed to give you hands-on experience with Building a Toy OS Kernel in Rust.

Created Byeulerfoldeulerfold
6 weeks
Jul 23
to start learning
Curriculum

Share:

About this Course

Memory management and interrupt handling at the lowest level: with Rust's safety guarantees. This comprehensive curriculum is designed to give you hands-on experience with Building a Toy OS Kernel in Rust. This Systems Programmers & Rust Enthusiasts curriculum is designed to give you hands-on experience and deep conceptual understanding. Across 6 intensive modules, you'll tackle real-world challenges and build practical projects that reinforce your learning. By the end of this journey, you'll have the skills and proof of work to demonstrate your expertise.

What you'll learn

Master the core concepts of freestanding rust binary & bare metal setup.
Gain hands-on experience with vga text mode & serial port drivers.
Understand the architecture behind interrupts, idt & programmable interrupt controller (pic).
Implement production-grade memory management: paging & heap allocation.

Prerequisites

intermediate Level

Requires basic familiarity with the tech stack.

  • Basic Rust syntax (ownership)
  • C/C++ memory concepts (pointers)
  • Operating System fundamentals

Ideal for

Systems Programmers & Rust Enthusiasts

Systems Engineers
W1

Freestanding Rust Binary & Bare Metal Setup

Master the core concepts of freestanding rust binary & bare metal setup.

3 videos36m
3 readings
3 topics
1 homework
Learn

Topics

1.1
Freestanding Rust & no_std Environment
Freestanding Binary, with #![no_std] #![no_main]
11 minutes
1.2
Target Specifications & Cross-Compilation
6. Understanding Rust Target Triples | Building Rust Firmware for STM32 ARM Cortex-M
9 minutes
1.3
QEMU Setup & Multiboot Bootloader
Write Your Own 64-bit Operating System Kernel #1 - Boot code and multiboot header
16 minutes
W2

VGA Text Mode & Serial Port Drivers

Gain hands-on experience with vga text mode & serial port drivers.

3 videos99m
3 readings
3 topics
1 homework
Learn
W3

Interrupts, IDT & Programmable Interrupt Controller (PIC)

Understand the architecture behind interrupts, idt & programmable interrupt controller (pic).

3 videos91m
3 readings
3 topics
1 homework
Learn
W4

Memory Management: Paging & Heap Allocation

Implement production-grade memory management: paging & heap allocation.

3 videos31m
2 readings
3 topics
1 homework
Learn
W5

Preemptive Multitasking & Context Switching

Implement thread contexts, timer interrupts for scheduling, and context switching.

2 videos57m
3 readings
2 topics
1 homework
Learn
W6

User Space & System Calls

Transition to Ring 3 and implement basic system calls.

2 videos26m
2 readings
2 topics
1 homework
Learn
Rate this course
0.0
0 reviews

Community Insights

0

Join the discussion

Sign in to share your thoughts and technical insights.

Loading insights...