Inline Assembly in Rust - Design and Stabilization
Offered By: Rust via YouTube
Course Description
Overview
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
Related Courses
CompilersStanford University via edX Build a Modern Computer from First Principles: Nand to Tetris Part II (project-centered course)
Hebrew University of Jerusalem via Coursera Compiler Design
Indian Institute of Technology, Kharagpur via Swayam Foundations to Computer Systems Design
Indian Institute of Technology Madras via Swayam Compiler Design
YouTube