News for hackers. Stuff that matters.
Re:Writing an OS in Rust: Returning from Exceptions by mtnygard on Friday September 23, 2016 @12:41PM (#12565933)
This series is wonderful. Somehow, Phil is able to introduce concepts from CPU state through compiler wonkiness to kernel design--all while showing how Rust helps handle them--but make them all accessible.

One other thing the series does is show how much we dink around due to x86 backward compatibility:

- GDT still required by CPU but not needed for programs.

- Ridiculous structure of IDT pointers due to multiple generations of bit width extension.

- Boot sequence.

Compared to the low-level setup for an ARM chip, it's night and day. ARM is what Intel was in the days of the 8088: load your program at an address, CPU jumps to that address, end of story!

There are no comments on this comment yet.