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

Getting Started with Reverse Engineering
Pluralsight
Intro to Binary Exploitation
HTB Academy via Independent
Energy Efficient Programming
openHPI
Journey to the Centre of the JVM - Exploring CPU Architecture and Memory Models
ChariotSolutions via YouTube
One Glitch to Rule Them All - Fault Injection Attacks Against the AMD Secure Processor
Black Hat via YouTube