Overview
This course delves into how Rust programming language handles functions and primitive types under the hood, exploring compiler tricks used to generate x86 assembly. Students will learn about memory allocation, register usage, stack types, and the differences between strongly typed and dynamic languages. The course covers immutable types on the stack, register reuse, and the assembly generated by Rust. The teaching method involves analyzing assembly code and examples to deepen understanding of Rust's inner workings. This course is intended for advanced Rust programmers seeking a comprehensive understanding of the language's underlying mechanisms.
Syllabus
- rust functions and assembly
- 64 bit integers vs 32 bit integers
- rust mutables versus immutables
- rust floats and assembly
- a complicated example ints, floats, bool, if's altogether
- conclusion
Taught by
Chris Hay