Till KTH:s startsida Till KTH:s startsida

Visa version

Version skapad av Johan Montelius 2016-10-26 13:31

Visa < föregående | nästa >
Jämför < föregående | nästa >

An Operating system in Rust

We will create, at least the beginning of, an operating system using the programing language Rust. In this project you will learn how an operating system is started and how it gradually is capable of providing features such as virtual memory. In this short time you will of course not be able to complete anything that any normal person would call an operating system but, you will learn a lot about how an operating system works and maybe realize that it is quite possible to build an operating system  from scratch.

We will follow the excellent tutorial by Phillip Oppermann, Writing an OS in Rust, that step by step shows how we can start from a page of assembler that prints OK in green on the screen and gradually work our way towards something that starts to look like an operating system, Oppermann has so far eleven tutorials divided into three sections. We will follow the first eight and divide our work in four sessions.

  • A minimal x86 kernel
  • Set up Rust
  • Virtual memory
  • A kernel heap