CppCon 2016: Timur Doumler “You want fast C? Know your equipment! »

CppCon 2016: Timur Doumler “You want fast C? Know your equipment! »

HomeCppConCppCon 2016: Timur Doumler “You want fast C? Know your equipment! »
CppCon 2016: Timur Doumler “You want fast C? Know your equipment! »
ChannelPublish DateThumbnail & View CountDownload Video
Channel AvatarPublish Date not found Thumbnail
0 Views
http://CppCon.org

Presentation slides, PDFs, source code and other presenter materials are available at: https://github.com/cppcon/cppcon2016

As C evolves, it provides us with better and more powerful tools for optimal performance. But often, very good knowledge of the language is not enough. It is equally important to know your equipment. Modern computer architectures have many properties that can impact the performance of C code, such as cache locality, cache associativity, true and false sharing between cores, memory alignment, branch predictor, instruction pipeline, denormalizations and SIMD. In this talk, I will provide an overview of these properties, using C code. I will present a series of code examples, highlighting different effects, and compare their performance on different machines with different compilers, sometimes with surprising results . The talk will paint a picture of what every C developer needs to know about hardware architecture, provide guidelines on how to write modern C code that is cache-friendly, pipeline-friendly, and well-vectorizable, and highlight clearly what to look for when profiling. he.

Timur Doumler
ROLI Ltd.
Senior software engineer JUCE
London, United Kingdom
Timur Doumler is a senior software developer at London-based technology company ROLI. He is currently working on JUCE, the leading cross-platform framework for building audio applications used by hundreds of companies in the audio industry. After five years writing high-performance code in Fortran, C and C for digital simulations of cosmic structure formation, Timur moved into audio and music production software. Before joining ROLI, he worked on various projects at market-leading company Native Instruments, such as KONTAKT, the standard sampling platform used by the majority of music producers and composers for film scores, games and contemporary popular music. Timur holds a PhD in astrophysics and is passionate about well-written code, modern C techniques, science fiction, language learning, and progressive rock music.

Videos filmed and edited by Bash Films: http://www.BashFilms.com

*—–*
Register now for CppCon 2022: https://cppcon.org/registration/
*—–*

Please take the opportunity to connect and share this video with your friends and family if you find it useful.