ycliper

Популярное

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

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

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

Топ запросов

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

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

C++ Object Lifetimes

cpp object lifetimes

cplusplus object lifetimes

c++ object lifetime

cpp object lifetime

std::malloc

memory in c++

Jonathan Müller

jonathan muller

undefined behavior

objects

lifetime

standard

object lifetime

c++ objects

cpp objects

undefined behavior c++

undefined behaviour

cppnow object lifetime

Deep Dive Into C++ Object Lifetimes

An (In-)Complete Guide to C++ Object Lifetimes

cppnow

cpp

c++

boost

cplusplus

in cpp

in c++

c++now

2024

talk

Автор: CppNow

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

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

Описание: 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

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
A Deep Dive Into C++ Object Lifetimes - Jonathan Müller - C++Now 2024

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

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

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

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

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

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

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

C++ RVO: Return Value Optimization for Performance in Bloomberg C++ Codebases - Michelle Fae D'Souza

C++ RVO: Return Value Optimization for Performance in Bloomberg C++ Codebases - Michelle Fae D'Souza

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

Peering Forward - C++’s Next Decade - Herb Sutter - CppCon 2024

Peering Forward - C++’s Next Decade - Herb Sutter - CppCon 2024

Object Lifetime in C++ (Stack/Scope Lifetimes)

Object Lifetime in C++ (Stack/Scope Lifetimes)

База по Базам Данных - Storage (Индексы, Paging, LSM, B+-Tree, R-Tree) | Влад Тен Систем Дизайн

База по Базам Данных - Storage (Индексы, Paging, LSM, B+-Tree, R-Tree) | Влад Тен Систем Дизайн

Паттерн, который должен знать каждый

Паттерн, который должен знать каждый

C++ Features You Might Not Know - Jonathan Müller - C++ on Sea 2023

C++ Features You Might Not Know - Jonathan Müller - C++ on Sea 2023

Как ускорить запросы в 1С в разы: разбираю 7 опасных проблем

Как ускорить запросы в 1С в разы: разбираю 7 опасных проблем

C++11 to C++23 in the C++ Memory Model - Alex Dathskovsky - C++Now 2024

C++11 to C++23 in the C++ Memory Model - Alex Dathskovsky - C++Now 2024

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



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



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