ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Back to Basics: const and constexpr - Rainer Grimm - CppCon 2021

Автор: CppCon

Загружено: 2021-12-22

Просмотров: 35245

Описание: https://cppcon.org/
https://github.com/CppCon/CppCon2021
---
It is a virtue to program as const as possible in modern C++. Your program is by design way more type safe, has fewer concurrency issues, and runs with high probability faster.

Const has many flavors in modern C++. Thanks to const, you can protect a value against mutation. With constexpr, you can initialize and compute values at compile time. Thanks to conteval, a computation can only run at compile time. In the end, constinit empowers you to initialize a modifiable value at compile time.

Let me show you in my lecture how you can initialize a value with constexpr and constinit in a thread-safe way. Let me show you how const and constexpr help you protect values from mutation and, therefore, make them immune to data races. Finally, let me show you how constexpr and consteval empowers you to improve the performance of your program and get functions that are by design easy to test, easy to maintain, and implicitly thread-safe.

---
Rainer Grimm

I've worked as a software architect, team lead, and instructor since 1999. In 2002, I created company-intern meetings for further education. I have given training courses since 2002. My first tutorials were about proprietary management software, but I began teaching Python and C++ soon after. In my spare time, I like to write articles about C++, Python, and Haskell. I also like to speak at conferences. I publish weekly on my English blog (https://www.modernescpp.com/) and the (https://www.grimm-jaud.de/index.php/b..., hosted by Heise Developer. Since 2016 he is an independent instructor giving seminars about modern C++ and Python. Rainer published several books in various languages to modern C++ and concurrency, C++20, and the C++ Core Guidelines, in particular. Due to his profession, Rainer always searches for the best way to teach modern C++

---
Work at Hudson River Trading (HRT): https://tinyurl.com/safxfctf
---

Videos Streamed & Edited by Digital Medium: http://online.digital-medium.co.uk

*--*

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Back to Basics: const and constexpr  - Rainer Grimm - CppCon 2021

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Misra Parallelism Safety-critical Guidelines for C++11, 17, Then C++20, 23 - CppCon 2021

Misra Parallelism Safety-critical Guidelines for C++11, 17, Then C++20, 23 - CppCon 2021

Back to Basics: Compiling and Linking - Ben Saks - CppCon 2021

Back to Basics: Compiling and Linking - Ben Saks - CppCon 2021

Award Ceremony & Thank You Speeches | AIF & PMS Conclave 3.0

Award Ceremony & Thank You Speeches | AIF & PMS Conclave 3.0

How To Use `constexpr` In C++23 - Jason Turner - NDC TechTown 2024

How To Use `constexpr` In C++23 - Jason Turner - NDC TechTown 2024

Back to Basics: The C++ Core Guidelines - Rainer Grimm - CppCon 2022

Back to Basics: The C++ Core Guidelines - Rainer Grimm - CppCon 2022

Your New Mental Model of constexpr - Jason Turner - CppCon 2021

Your New Mental Model of constexpr - Jason Turner - CppCon 2021

Dune: Part Three | Official Teaser Trailer

Dune: Part Three | Official Teaser Trailer

C++ Under the Hood: (Internal Class Mechanisms) - Chris Ryan - NDC TechTown 2024

C++ Under the Hood: (Internal Class Mechanisms) - Chris Ryan - NDC TechTown 2024

Branchless Programming in C++ - Fedor Pikus - CppCon 2021

Branchless Programming in C++ - Fedor Pikus - CppCon 2021

C++ Weekly - Ep 432 - Why constexpr Matters

C++ Weekly - Ep 432 - Why constexpr Matters

Back to Basics: Templates in C++ - Nicolai Josuttis - CppCon 2022

Back to Basics: Templates in C++ - Nicolai Josuttis - CppCon 2022

Введение в constexpr | Серия Modern Cpp, выпуск 86

Введение в constexpr | Серия Modern Cpp, выпуск 86

What is Low Latency C++    Timur Doumler

What is Low Latency C++ Timur Doumler

Using Modern C++ to Eliminate Virtual Functions - Jonathan Gopel - CppCon 2022

Using Modern C++ to Eliminate Virtual Functions - Jonathan Gopel - CppCon 2022

Массовый забой скота. Протестам в России быть? Зачем Трампу Иран. Максим Шевченко: Особое мнение

Массовый забой скота. Протестам в России быть? Зачем Трампу Иран. Максим Шевченко: Особое мнение

C++ Code Smells - Jason Turner

C++ Code Smells - Jason Turner

Back to Basics: Pointers - Mike Shah - CppCon 2021

Back to Basics: Pointers - Mike Shah - CppCon 2021

Real-time Programming with the C++ Standard Library - Timur Doumler - CppCon 2021

Real-time Programming with the C++ Standard Library - Timur Doumler - CppCon 2021

C++ From Scratch: Constexpr

C++ From Scratch: Constexpr

Фильм Алексея Семихатова «ГРАВИТАЦИЯ»

Фильм Алексея Семихатова «ГРАВИТАЦИЯ»

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]