Популярное

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

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

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

Топ запросов

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

A Deep Dive Into C++ Object Lifetimes - Jonathan Müller - C++Now 2024

Автор: CppNow

Загружено: 2024-09-07

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

Описание:

https://www.cppnow.org
---

A Deep Dive Into C++ Object Lifetimes - Jonathan Müller - C++Now 2024
---

A C++ program manipulate objects, but it is undefined behavior if you attempt to manipulate them while they are not alive.
So let's do a deep dive into object lifetime.

When are objects created and when are they destroyed?
How does temporary lifetime extension come into play and what changed there recently?
What happens when you std::malloc memory and just pretend objects are there without creating anything?
Or worse: You use mmap() to read shared memory.
How do unions interact with constructors, strict aliasing, or the "common initial sequence"?
What when you explicitly call the destructor and later re-use the same storage?
What's the deal with std::launder, std::bit_cast, and std::start_lifetime_as?

We'll answer all of those questions and much more.
We'll do that by looking at the C++ standard, old and new proposals, and compiler optimizations.
---

Slides: https://github.com/boostcon/cppnow_pr...


---

Jonathan Müller

Jonathan is a library developer at think-cell. In his spare time, he works on various C++ open source libraries for memory allocation, cache-friendly containers, or parsing. He also blogs at foonathan.net and is a member of the C++ standardization committee.
---

C++Now 2025 - 28th April - 2nd May
C++Now is an annual onsite international C++ programming and coding conference held in Aspen, Colarado. For all C++ developers, C++ software engineers and those involved with the C++ language, CppNow provides an indepth and technical content provided by the best and brightest C++ experts of the C++ world.
Annual CppNow Conference - https://www.cppnow.org
  / cppnow  
  / cppnow  
  / cppnow  
  / cppnow  
https://mastodon.social/@cppnow
Video Sponsors: millennium and think-cell
---

Videos Filmed & Edited By Bash Films: https://bashfilms.com/
YouTube Channel Managed & Optimized By Digital Medium Ltd: https://events.digital-medium.co.uk
---

#boost #cpp #cppprogramming #cplusplus #software development

A Deep Dive Into C++ Object Lifetimes - Jonathan Müller - C++Now 2024

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

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

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

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

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

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

array(10) { [0]=> object(stdClass)#5620 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "DLgM570cujU" ["related_video_title"]=> string(94) "Zero-Cost Abstractions in C++ - High Performance Message Dispatch - Luke Valenty - C++Now 2024" ["posted_time"]=> string(27) "9 месяцев назад" ["channelName"]=> string(6) "CppNow" } [1]=> object(stdClass)#5593 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "YlzbJvGg88k" ["related_video_title"]=> string(107) "Владимир, а почему этот форум не показывают по телевизору?!" ["posted_time"]=> string(23) "8 часов назад" ["channelName"]=> string(37) "Обманутый Россиянин" } [2]=> object(stdClass)#5618 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "YzqDFxdtxkQ" ["related_video_title"]=> string(81) "Вайб-кодинг от Google | ИИ-хаос в Fortnite | Новости IT" ["posted_time"]=> string(24) "19 часов назад" ["channelName"]=> string(18) "Sergey Nemchinskiy" } [3]=> object(stdClass)#5625 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "UrU8O1mMyNE" ["related_video_title"]=> string(70) "Mistakes to Avoid When Writing C++ Projects - Bret Brown - C++Now 2024" ["posted_time"]=> string(27) "8 месяцев назад" ["channelName"]=> string(6) "CppNow" } [4]=> object(stdClass)#5604 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "qlRoNXYK4-E" ["related_video_title"]=> string(56) "The C++ Vector Challenge - Lisa Lippincott - C++Now 2024" ["posted_time"]=> string(27) "7 месяцев назад" ["channelName"]=> string(6) "CppNow" } [5]=> object(stdClass)#5622 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "NiGzdv84iDE" ["related_video_title"]=> string(99) "How do Time Travel Debuggers Work? - Design and Implementation of a Time Travel Debugger - Greg Law" ["posted_time"]=> string(27) "8 месяцев назад" ["channelName"]=> string(6) "CppNow" } [6]=> object(stdClass)#5617 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "DvM8oKA1YiM" ["related_video_title"]=> string(104) "Investigating Legacy Design Trends in C++ & Their Modern Replacements - Katherine Rocha C++Now 2024" ["posted_time"]=> string(28) "10 месяцев назад" ["channelName"]=> string(6) "CppNow" } [7]=> object(stdClass)#5627 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "qTw0q3WfdNs" ["related_video_title"]=> string(46) "C++ Should Be C++ - David Sankel - C++Now 2024" ["posted_time"]=> string(28) "10 месяцев назад" ["channelName"]=> string(6) "CppNow" } [8]=> object(stdClass)#5603 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "WZN3cLhnWh8" ["related_video_title"]=> string(42) "О Зеленского вытерли ***" ["posted_time"]=> string(23) "9 часов назад" ["channelName"]=> string(27) "Анатолий Шарий" } [9]=> object(stdClass)#5621 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "t7EJTO0-reg" ["related_video_title"]=> string(85) "Security in C++ - Hardening Techniques From the Trenches - Louis Dionne - C++Now 2024" ["posted_time"]=> string(27) "7 месяцев назад" ["channelName"]=> string(6) "CppNow" } }
Zero-Cost Abstractions in C++ - High Performance Message Dispatch - Luke Valenty - C++Now 2024

Zero-Cost Abstractions in C++ - High Performance Message Dispatch - Luke Valenty - C++Now 2024

Владимир, а почему этот форум не показывают по телевизору?!

Владимир, а почему этот форум не показывают по телевизору?!

Вайб-кодинг от Google | ИИ-хаос в Fortnite | Новости IT

Вайб-кодинг от Google | ИИ-хаос в Fortnite | Новости IT

Mistakes to Avoid When Writing C++ Projects - Bret Brown - C++Now 2024

Mistakes to Avoid When Writing C++ Projects - Bret Brown - C++Now 2024

The C++ Vector Challenge - Lisa Lippincott - C++Now 2024

The C++ Vector Challenge - Lisa Lippincott - C++Now 2024

How do Time Travel Debuggers Work? - Design and Implementation of a Time Travel Debugger - Greg Law

How do Time Travel Debuggers Work? - Design and Implementation of a Time Travel Debugger - Greg Law

Investigating Legacy Design Trends in C++ & Their Modern Replacements - Katherine Rocha  C++Now 2024

Investigating Legacy Design Trends in C++ & Their Modern Replacements - Katherine Rocha C++Now 2024

C++ Should Be C++ - David Sankel - C++Now 2024

C++ Should Be C++ - David Sankel - C++Now 2024

О Зеленского вытерли ***

О Зеленского вытерли ***

Security in C++ - Hardening Techniques From the Trenches - Louis Dionne - C++Now 2024

Security in C++ - Hardening Techniques From the Trenches - Louis Dionne - C++Now 2024

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



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



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