
Speeding up Rust's Compiler
Software Unscripted
00:00
Rust C vs Cargo vs Linker?
You work on the Rust compiler, so as I understand it, there's three different pieces. Like if I run a cargo build, and I'm like, build my whole Rust project, there're three different components that are involved in actually making that compiled binary. So one is Rust C, which is the Rust compilation that compiles a.rs file. And then there's cargo that does the whole project and package dependencies and all that stuff, many rs files. And then There's the linker, which is like LD, or like some system linker that's built in the operating system,. Or else a third party one like LLD, ships with LLVM or mold to make
Transcript
Play full episode