Rust Before Main - Ryan Levick - Rust Linz, July 2022 @RustVideos
Rust Before Main - Ryan Levick - Rust Linz, July 2022  @RustVideos
Uploaded October 2022 | Updated November 2026, 1 week ago
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: youtube.com/watch?v=dOfucXtyEsU
Making Your Own Executable Packer: fasterthanli.me/series/making-our-own-executable-packer
How the heck do we get to main(): dbp-consulting.com/tutorials/debugging/linuxProgramStartup.html
Everything You Ever Wanted to Know About DLLs: youtube.com/watch?v=JPQWQfDhICA
Minimizing Rust Binary Size: github.com/johnthagen/min-sized-rust

Rust Linz: https://rust-linz.at
Speak at Rust Linz: sessionize.com/rust-linz
Twitter: twitter.com/rustlinz
Rust Before Main - Ryan Levick - Rust Linz, July 2022RustConf 2022 - All aboard the Rust (electric freight) train! by Julie WangRustConf 2023 - Fine! Ill just make my own stable ABI!Internals of SlateDB — by Vignesh Chandramohan — Seattle Rust User Group, March 2025Jan David Nose Interview, Rust Infrastructure Team [Rust Project Content @ RustConf 2025]RustConf 2023 - Rusty Genomics: Rust in the BiosciencesA Cellular Automaton with Rust and Bevy - Diemo Heuer - Rust Linz, October 2022Writing a Linux GPU Kernel Driver in Rust with Daniel AlmeidaStore it in a Ceph cluster - Stefan Schindler - 2023-11-30 meetupBuilding a Minimal, Rootless Container in Rust—by Carlo Quick—Seattle Rust User Group, March 2026Kangrejos 2025 Interview: Tathagata Roy, Semantic code edits with CoccinelleForRustLuis Argumedo: Learning Rust by accident — RustFest LATAM 2022
Rust Programming Language |

Rust Before Main - Ryan Levick - Rust Linz, July 2022

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER