C++ STL best and worst performance features and how to learn from them

Danila Kutenin

60 minute presentation
advanced
intermediate

We are going to discuss the cases when C++ STL is fast and not enough -- due to some standard reasons or compiler optimizations. We will consider algorithms, containers, strings, triviality of types, memory management, atomics among all popular STLs (libcxx, libstdcxx, Microsoft STL, EASTL). We will see what are the best practices, where the violation of "you don't pay for what you don't use" takes place, where the compilers cannot optimize code due to fundamental reasons or where they overthink themselves.

This talk will be useful to all kind of developers to know and learn some bad and good performance techniques from STL.

algorithms
STL

Danila Kutenin

I am a Software Engineer at Google with various experience in search engine and distributed systems. Main interest of mine is performance, gaining maximum of C++, service design