Back To Schedule

Empowerment with C++’s Generic Programming Paradigm

19:30 - 20:30 Thursday 29th February 2024 UTC
Generic / Metaprogramming

The capabilities for Generic Programming (GP) that C++ gives you are so powerful, that if you use them consistently, you can achieve the best program performance for the effort you put, even taking into account how strange this way of programming is.

This presentation might help you learn, improve, perfect your use of the GP paradigm by showing lots of examples, from the standard library, resources such as the book "From Mathematics to Generic Programming" and sharing some insights gained while doing some inventions.

Furthermore, AIs or LLMs such as Copilot or ChatGPT can't do Generic Programming because the concepts you use, refine and invent for good Generic Programming take care of all of the redundancy and boilerplate that LLMs help you with while you are not doing GP.

We will see why applying GP leads you to write more insightful code without extra effort, hence the empowerment from the virtuous loop of practicing, applying GP, we will explore the reasons why GP is not as popular as it should.

And finally, GP potentiates all of C++, letting the practitioner accomplish things that are in practice impossible in other languages, the satisfaction of attaining things that are best in their field.

View Slides

Eduardo Madrid

High Performance and Generic Programming C++ Software Engineer, with experience in financial technologies and other fields.
Presenter several times at users groups and C++ conferences