Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Rustc in Userland

Strange Loop Conference via YouTube

Overview

Limited-Time Offer: Up to 75% Off Coursera Plus!
7000+ certificate courses from Google, Microsoft, IBM, and many more.
This course explores the capabilities of Rust's compiler architecture, allowing users to access and utilize its internals for creating static analysis tools and compilers. Participants will learn how to write a simple static analyzer and implement a LISP program that emits native objects using Rust's codegen machinery. The teaching method involves diving into the compiler's modularity and demonstrating platform-specific hacks for creating a JIT compiler. This course is intended for individuals interested in understanding compiler internals and leveraging Rust's features for tool development.

Syllabus

richo who is this guy
Whyfor we're here
The tiniest rust compiler
Under the hood
What even is a compiler
and why do I want one?
Assembly
Linkage
Quick Wins brainfuck
Naive Interpreter
Naive Compiler Real like.. actual native code
First step, fixing codegen
A quick history lesson
clang
LLVM Low Level Virtual Machine
Aside: goddamit rust Why you ruin my talk in this way
Ok but like building things
Cheap thrills
Let's build a thing!
Pattern match like a champ
POW! Data
Conclusions
neat ideas going forward
Questions?

Taught by

Strange Loop Conference

Reviews

Start your review of Rustc in Userland

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.