Lightning Talk: The Most Important C++ Feature - Nicolai Josuttis - ACCU 2023

  Рет қаралды 2,178

ACCU Conference

ACCU Conference

Күн бұрын

ACCU Membership: tinyurl.com/yd...
accu.org
www.accuconfer...
Lightning Talk: The Most Important C++ Feature - Nicolai Josuttis - ACCU 2023
Slides: accu.org/conf-...
A talk on the value of destructors and the RAII pattern.
---
Nicolai Josuttis
Nicolai M. Josuttis (www.josuttis.com) is well known in the programming community for his authoritative books and talks. For more than 20 years he is a member of the C++ Standard Committee. He is the (co-)author of several worldwide best-sellers, including
"C++20 - The Complete Guide",
"C++17 - The Complete Guide",
"C++ Move Semantics",
"C++ Templates" (with David Vandevoorde and Doug Gregor), and
"The C++ Standard Library".
---
KZbin Videos Filmed, Edited & Optimised by Digital Medium: events.digital...
#accuconf #programming #destructor

Пікірлер: 8
@roykin0929
@roykin0929 Жыл бұрын
Thumbnail spoiled it, but I agree 100%
@tylovset
@tylovset Жыл бұрын
RAII was already in C, though. #define RAII(declvar, destruct) for (declvar, ***_i, **_ip = &_i; _ip; _ip = 0, destruct) RAII (FILE* f = fopen(name, "r"), fclose(f)) { if (!f) return ERROR; ... if (done) continue; ... } // end of f's lifetime
@iamjadedhobo
@iamjadedhobo Жыл бұрын
I fully agree with Nicolai. When I had to do some coding in C# (when it was just new) deterministic destruction/cleanup/closing of a resource was *the major* thing I was missing. Having to go back to resorting to C idioms was just painful.
@Vitorian
@Vitorian Жыл бұрын
Taboo: everyone secretly hates move semantics.
@tomaszstanislawski457
@tomaszstanislawski457 11 ай бұрын
I agree that C could benefit from some form of *explicit* and *optional* RAII, there is even a proposal to add "defer" statement to address this issue.
@codertopics343
@codertopics343 Жыл бұрын
I agree 100% :)
@segfault4568
@segfault4568 Жыл бұрын
when templates and constexpr showed up I was like YAY these are the ones, turns out its a destructor.
C++ Standard Views - Nico Josuttis - ACCU 2023
1:36:08
ACCU Conference
Рет қаралды 7 М.
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 113 МЛН
Help Me Celebrate! 😍🙏
00:35
Alan Chikin Chow
Рет қаралды 42 МЛН
Inside Out 2: BABY JOY VS SHIN SONIC 3
00:19
AnythingAlexia
Рет қаралды 9 МЛН
(Life) Advice From The Creator of C++
3:18
Honeypot
Рет қаралды 922 М.
Being Competent With Coding Is More Fun
11:13
TheVimeagen
Рет қаралды 82 М.
Andrew Kelley   Practical Data Oriented Design (DoD)
46:40
ChimiChanga
Рет қаралды 107 М.
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 350 М.
Back to Basics:  RAII in C++ - Andre Kostur - CppCon 2022
44:17
WHY IS THE STACK SO FAST?
13:46
Core Dumped
Рет қаралды 156 М.
Умный обзор умного iPhone 16 / 16 Pro
21:21
Гуфовский
Рет қаралды 393 М.
Samsung копирует Apple?
0:36
Не шарю!
Рет қаралды 1,4 МЛН
Как удалить компромат с компьютера?
0:20
Лена Тропоцел
Рет қаралды 1,8 МЛН