Track A
16:35 - 17:30 (JST)
Understanding Linking is crucial because large Rust projects can spend roughly 50% of build time in linking. If you have ever wondered how the rust compiler, linker, loader, and operating system work together to run your Rust program - this talk might spark your interest. In this talk, Shriram will share a high level overview of the rust compilation pipeline, how the compiler is changing to become demand driven, how rustc uses LLVM, what goes inside a linker, what’s inside the object files, what do the link-time optimization flags mean, why rust prefers static linking, and are there ways to do dynamic linking.
By the end of the talk, you should have a better understanding of how Rust programs are linked, and how the linker magically makes everything fit together like pieces of a puzzle.
Here’s what we’ll cover:
Senior Software Engineer at Microsoft tinkering with systems languages, databases and things on the web
Copyright © Rust.Tokyo 2024 all rights reserved.