Group for Research in Decision Analysis

Coding with intent in Modern C++: Lambdas, smart pointers, multithreading, and more

Sriram Sankaranarayanan Polytechnique Montréal, Canada

The talk will focus on good practices while writing code in modern C++ (C++11, C++14 and C++17), which will include taking advantage of the full functionalities of the language. In particular, we will go through simple programming practices that will enhance the speed of the code, make the code less bug-prone, as well as reflect the programmer's intent in the code, thus enhancing sharability and readability of code. In particular, we will go through the usage of constexpr, std::move, lambdas, header, smart pointers and multi-threading (time permitting) which were introduced in C++11 and subtly enhanced in C++14. We will also introduce initializing switch and if statements, and the structured binding introduced in C++17. The session is targeted at beginner to intermediate level C++ programmers to hint at the (awesome) utilities that the language provides, rather than a full-on tutorial on the utilities.

We would highly appreciate if you could confirm your attendance Pizza and non alcoholic beverages will be available; you can also bring your own lunch.