Faster Complex Numbers

Sign in to queue

Description

Presentation Slides, PDFs, Source Code and other presenter materials are available at: https://github.com/cppcon/cppcon2015 — Complex numbers are an important tool from mathematics enabling many problems to be written in a more generic form. The C++ standard library comes with an implementation to work with complex numbers in a natural way. Motivated by useful real world examples from theoretical physics and audio dsp I will discuss benchmarks of std::complex and demonstrate how alternative implementations, naïve or advanced ones based on expression templates, outperform std::complex and can compete with hand-crafted C code (depending on compiler and std lib). A quick introduction to expression templates will be provided. — André leads the Traktor software development team at Native Instruments. There he is taking an active role in modernizing the C++ coding standards by organizing tech talks and introducing new techniques and libraries. Some of his main interests are functional and generic programming and solving meta-programming puzzles. Besides that he is lecturer at the Beuth Hochschule in Berlin where he teaches C++ and is one of the organizers of the local Berlin C++ meetups. — Videos Filmed & Edited by Bash Films: http://www.BashFilms.com

Tag:

C++

Day:

4

Code:

CPPConD04V001

Embed

Download

Download this episode

The Discussion

Add Your 2 Cents