LOADING

Let's talk about Link-Time Optimization (LTO)

I contributed LTO-related changes to many open-source projects, and had a lot of interesting discussions with their maintainers about LTO. In this talk, I want to share with you my experience.

Aliaksandr Zaitsau
Staff Software Engineer at N-able
About This Talk

Link-Time Optimization (LTO) is a compiler optimization technique that helps a lot with optimizing software beyond the default Release profile. This optimization can be enabled by a single line in your Cargo.toml file. But is it so easy in the real world?

I contributed LTO-related changes to many open-source projects, and had a lot of interesting discussions with their maintainers about LTO. In this talk, I want to share with you my experience. We will discuss the following topics:

* What is LTO? Why is it useful?

* What kinds of LTO do we have in Rust? With their pros and cons in different scenarios.

* LTO adoption state in the Rust ecosystem and what we can do with that.

* Common and not-so-common LTO issues and how to mitigate them.

* How to integrate LTO into your project properly.

* And of course answer all your questions about LTO!

After the talk, you will be much more prepared to optimize your Rust applications with LTO and avoid as much LTO traps as possible!

more great talks

Might Be Interesting

Day 2
  —  
3:10 pm
arrow pointing right icon

No cars were harmed for this talk: Automotive Rust, amateur style

I'll initiate you in the art of 'CAN bus sniffing': Connecting to the central nervous system of a modern car, interpreting the data, and seeing what we can build as enthousiastic amateurs.

Day 1
  —  
2:35 pm
arrow pointing right icon

Blazingly Fast or Blazingly Hyped? A Reality Check on the RIIR Movement

This talk puts popular Rust rewrites to the test. We'll examine how these tools stack up against their battle-tested predecessors, looking at real-world performance, compilation times, binary sizes, feature completeness, and ecosystem maturity.

Day 2
  —  
11:15 am
arrow pointing right icon

Rust performance debugging with TUIs and LLMs

In my session, I will present the https://hotpath.rs crate and explain how it compares to other profiling tools available.

Day 1
  —  
9:00 am
arrow pointing right icon

An Option? Have a slice!

In 2024, I added the `Option::as_slice` and `Option::as_mut_slice` methods to libcore. This talk is about what motivated the addition, and looks into the no less than 4 different implementations that made up the methods. It also shows that even without a deep understanding of all compiler internals, it is possible to add changes both to the compiler and standard library.

See All Events
Join us!

We're looking for amazing speakers.
CFP is open till 10.01.2023

Fill in Call for Papers
location icon

Location

Centrum Konferencyjne POLIN, Poland
stay in touch icon

Follow Us

Contact Us