Under the Hood of Rust Language with Assembly - Rust Programming Tutorial

Under the Hood of Rust Language with Assembly - Rust Programming Tutorial

Chris Hay via YouTube Direct link

- introduction

1 of 20

1 of 20

- introduction

Class Central Classrooms beta

YouTube playlists curated by Class Central.

Classroom Contents

Under the Hood of Rust Language with Assembly - Rust Programming Tutorial

Automatically move to the next video in the Classroom when playback concludes

  1. 1 - introduction
  2. 2 - create our rust project
  3. 3 - target folder and rust compile
  4. 4 - emitting rust assembly during compile
  5. 5 - cross compiling rust from apple silicon arm to x64 assembly
  6. 6 - emitting x64 assembly
  7. 7 - cargo show asm
  8. 8 - emitting rust assembly interleaved with rust using cargo show asm
  9. 9 - generating x64 intel assembly using rust and godbolt
  10. 10 - understanding stack frame memory allocation, stack pointer, rsp and sub
  11. 11 - variable assignment, mov and virtual registers
  12. 12 - assembly multiplication using imul
  13. 13 - storing local variables in the stack / stack frame memory for later use
  14. 14 - overflow checks and panickibng
  15. 15 - more calculations and some compiler optmizations
  16. 16 - understanding stack memory and primitive sizes and fixed memory
  17. 17 - jmp's are goto's in disguise
  18. 18 - more stack memory and compiler optimizations
  19. 19 - printing the result
  20. 20 - To Be Continued

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.