Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore inline assembly in Rust through this comprehensive conference talk. Gain an overview of the current unstable implementation and compare it with inline assembly support in other programming languages. Delve into discussions about designing and stabilizing this feature. Learn about instruction names, portability, and various examples ranging from simple to complex. Examine topics such as MSPC, macros, comments, CPU id, C extensions, templates, arguments, registers, constraints, and volatile GCC. Participate in a pop quiz and study Talos documentation. Investigate outputs, optimized code, inline assembly allocation of registers, global assembly, and ECX syntax. Understand the broader implications of assembly in Rust programming.
Syllabus
Introduction
Overview
Why
Be safe
What is assembly
Instruction names
Portability
Simple example
More complex example
MSPC
Macros
Comments
CPUid
C extension
Templates
Arguments
Registers
Constraints
Volatile
GCC
Pop Quiz
Talos documentation
Outputs
Optimized code
Inline assembly
Inline assembly allocate registers
GlobalAssembly
BeyondAssembly
ECX syntax
Taught by
Rust