YoVDO

How Rust Primitive Types and Functions Really Work Under the Hood in Rust Programming with Assembly

Offered By: Chris Hay via YouTube

Tags

Rust Courses Assembly Language Courses Type System Courses Memory Allocation Courses

Course Description

Overview

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

Related Courses

The Computing Technology Inside Your Smartphone
Cornell University via edX
Computer Architecture
Indian Institute of Technology Madras via Swayam
Computation Structures 2: Computer Architecture
Massachusetts Institute of Technology via edX
Product Design and Manufacturing
Indian Institute of Technology Kanpur via Swayam
Foundations to Computer Systems Design
Indian Institute of Technology Madras via Swayam