DevConf.CZ 2019 has ended

Friday, January 25 • 3:00pm - 3:50pm
Understanding Compiler Optimization

Sign up or log in to save this to your schedule and see who's attending!

Feedback form is now closed.
To most developers compilers are opaque. They translate high-level code to machine code and flags tell the compiler to create better code. But how does this work? Why can it be done? Once a developer reaches basic understanding of optimizations the next question is: what did the compiler do to my code, why didn't it do more?

This is where things get tricky. By default the compiler does not flood the user with explanations. There are ways to get to the information. This talk is an introduction into using the compiler's diagnostics to understand what the compiler does in detail and, more importantly, to learn how to possibly rewrite or restructure one's code to achieve better performance. This is especially necessary and useful when relying on auto-vectorization and -parallelization.

avatar for Ulrich Drepper

Ulrich Drepper

System Research & Data Science, CTO Office, Red Hat
System Research & Data Science, CTO Office
avatar for Jakub Jelinek

Jakub Jelinek

Consulting Engineer, Red Hat Czech s.r.o.
I'm one of GCC Release Managers, upstream GCC contributor and Fedora GCC package maintainer.

Friday January 25, 2019 3:00pm - 3:50pm

Attendees (78)