YoVDO

Inline Assembly in Rust - Design and Stabilization

Offered By: Rust via YouTube

Tags

Rust Courses Assembly Language Courses Memory Management Courses Compiler Design Courses Code Optimization Courses Systems Programming Courses Low-level Programming Courses CPU Architecture Courses

Course Description

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

Related Courses

Embedded Systems using C
EDUCBA via Coursera
Learn C Programming with Dr. Chuck (feat. classic book by Kernighan and Ritchie)
freeCodeCamp
The Rust Programming Language
Frontend Masters
Web Assembly (Wasm)
Frontend Masters
Advanced C Programming: Integrating C and Assembly Language
LinkedIn Learning