Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive deep into the inner workings of Rust primitive types and functions through an examination of the generated assembly code. Explore how Rust handles memory allocation, register usage, and function calls at the lowest level. Discover the differences between stack and heap allocation, and understand how Rust's type system translates to efficient machine code. Learn about the compiler's optimization techniques for both mutable and immutable types. Analyze complex examples involving integers, floats, booleans, and conditional statements to gain a comprehensive understanding of Rust's low-level behavior. This advanced tutorial is perfect for those seeking to truly master Rust programming by understanding its underlying mechanics.
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