3 ms·
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 hel
by mtnygard 10y ago
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!