Get the latest tech news

Blog series on creating an OS in Rust


This blog series creates a small operating system in the Rust programming language. Each post is a small tutorial and includes all needed code.

In this post, we create an interface that makes its usage safe and simple by encapsulating all unsafety in a separate module. It first explores different techniques to make the physical page table frames accessible to the kernel and discusses their respective advantages and drawbacks. We take a detailed look at how async/await works in Rust, including the design of the Future trait, the state machine transformation, and pinning.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Rust

Rust

Photo of blog series

blog series

Related news:

News photo

Show HN: Cant – Library written in Rust that provides PyTorch-like functionality

News photo

StackSafe: Taming Recursion in Rust Without Stack Overflow

News photo

BlueOS Kernel – Written in Rust, compatible with POSIX