Главная
Study mode:
on
1
richo who is this guy
2
Whyfor we're here
3
The tiniest rust compiler
4
Under the hood
5
What even is a compiler
6
and why do I want one?
7
Assembly
8
Linkage
9
Quick Wins brainfuck
10
Naive Interpreter
11
Naive Compiler Real like.. actual native code
12
First step, fixing codegen
13
A quick history lesson
14
clang
15
LLVM Low Level Virtual Machine
16
Aside: goddamit rust Why you ruin my talk in this way
17
Ok but like building things
18
Cheap thrills
19
Let's build a thing!
20
Pattern match like a champ
21
POW! Data
22
Conclusions
23
neat ideas going forward
24
Questions?
Description:
Explore the inner workings of Rust's compiler architecture in this 32-minute Strange Loop Conference talk. Dive into the unique feature of Rust that allows access to all compiler internals from userland code, enabling the creation of static analysis tools and compilers. Learn how to write a simple static analyzer and implement a LISP that emits native objects using Rust's packaging machinery. Discover platform-specific hacks for creating a JIT compiler-like functionality. Gain insights into assembly, linkage, and code generation processes. Follow along as the speaker demonstrates practical examples, including a naive interpreter and compiler for Brainfuck. Understand the significance of LLVM in Rust's ecosystem and explore pattern matching techniques. Conclude with ideas for future applications and engage in a Q&A session to deepen your understanding of Rust's compiler capabilities.

Rustc in Userland

Strange Loop Conference
Add to list
0:00 / 0:00