Retour aux activités
Séminaire du GERAD

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

iCalendar

15 oct. 2019   12h00 — 13h30

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 https://forms.gle/6KbD3yFJvxkMo3tg9. Pizza and non alcoholic beverages will be available; you can also bring your own lunch.

Matthieu Gruson responsable

Lieu

Salle 4488
Pavillon André-Aisenstadt
Campus de l'Université de Montréal
2920, chemin de la Tour Montréal QC H3T 1J4 Canada