Software Unscripted cover image

Bootstrapping a Compiler via WASM with Loris Cro

Software Unscripted

CHAPTER

LLVM IR: A Low Level Virtual Machine

Rust is written in Rust and the standard library is written in Zig. LLVM IR is basically their serialized format of like, here's LLVM's like representation of your code that you wanted to compile. So what we do is when we compile your rock program, we want LLVM to be able to optimize the rock program and the standard libraries together because it can do a better job optimizing if it knows about everything. And so one of the ideas was, oh, well, what if we did the same thing with the platform? And now you can get this whole program optimization of LLVM across not just your standard library and your application but also your platform too.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner