![](https://ccweb.imgix.net/https%3A%2F%2Fwww.classcentral.com%2Fimages%2Ficon-black-friday.png?auto=format&ixlib=php-4.1.0&s=fe56b83c82babb2f8fce47a2aed2f85d)
Overview
![](https://ccweb.imgix.net/https%3A%2F%2Fwww.classcentral.com%2Fimages%2Ficon-black-friday.png?auto=format&ixlib=php-4.1.0&s=fe56b83c82babb2f8fce47a2aed2f85d)
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