When you run a Rust program, you may be tempted to think that the first code to execute is the main function. However, this is far from the case. In this talk, we'll explore what happens before the main function runs. By the end, you'll have a deeper understanding of what happens before the bits that rustc compiles your program into ever run.
Ryan has been writing Rust since around version 0.10. He now focuses on Rust full time at Microsoft. When he's not doing Rust, he enjoys cooking, traveling and exploring Berlin where he lives.
Resources:
The Bits Between the Bits: • CppCon 2018: Matt Godb...
Making Your Own Executable Packer: fasterthanli.m...
How the heck do we get to main(): dbp-consulting....
Everything You Ever Wanted to Know About DLLs: • CppCon 2017: James McN...
Minimizing Rust Binary Size: github.com/joh...
Rust Linz: rust-linz.at
Speak at Rust Linz: sessionize.com...
Twitter: / rustlinz
Негізгі бет Rust Before Main - Ryan Levick - Rust Linz, July 2022
Пікірлер: 37