Тёмный

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

CppNow
Подписаться 32 тыс.
Просмотров 6 тыс.
50% 1

www.cppnow.org​
---
C++11 to C++23 in the C++ Memory Model - Alex Dathskovsky - C++Now 2024
---
In the realm of C++ development, threading and memory management play a crucial role in crafting highly parallel and optimized programs. However, the absence of a memory model in C++98 posed challenges. Thankfully, with the advent of C++11, significant changes were introduced, including the introduction of a memory model, which brought forth a plethora of new and exciting tools for developers to leverage. This talk aims to delve into the realm of the C++ memory model, showcasing the arsenal of tools at our disposal. Attendees will gain insights into how CPUs and compilers optimize code and understand the criticality of adhering to the memory model correctly. Practical guidelines on utilizing these tools effectively will also be explored.
Throughout the talk, we will illustrate practical examples and share best practices for utilizing the diverse set of tools now available to us. From atomic operations to memory barriers, we will explore the range of techniques that allow us to develop robust and thread-safe code.
This talk will also illustrate the newer tools from newer C++ standards like JThread and so this talk will show how memory model is used and how it advanced since C++11
---
Slides: github.com/boo...
Sponsored by Undo: Debug your hardest C++ bugs with time travel debugging → Learn more at bit.ly/cppnow24
---
Alex Dathskovsky
Alex has over 17 years of software development experience, working on systems, low-level generic tools and high-level applications. Alex has worked as an integration/software developer at Elbit, senior software developer at Rafael, technical leader at Axxana, Software manager at Abbott Israel and now a group manager a technical manager at Speedata.io an Exciting startup the will change Big Data and analytics as we know it. On His current Job Alex is developing a new CPU/APU system working with C++20, Massive metaprogramming and development of LLVM to create the next Big thing for Big Data.
Alex is a C++ expert with a strong experience in template meta-programming. Alex also teaches a course about the new features of modern C++, trying to motivate companies to move to the latest standards.
---
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 - www.cppnow.org
/ cppnow​
/ cppnow
/ cppnow
/ cppnow
mastodon.socia...
Video Sponsors: millennium and think-cell
---
Videos Filmed & Edited By Bash Films: bashfilms.com/
RU-vid Channel Managed & Optimized By Digital Medium Ltd: events.digital...
---
#boost #cpp #cppprogramming #cplusplus #programming

Опубликовано:

 

18 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 8   
@sarevoker
@sarevoker 16 дней назад
Cheers from Brazil, thanks for this presentation, very insightful.
@filosofisto
@filosofisto 13 дней назад
That was simply a spectacular speech
@WilhelmDrake
@WilhelmDrake 16 дней назад
@14:00 UB can sneak past even the best of us. I know there are sanitizers to detect some UB but I really wish there was a way to get compilers to treat UB as an error.
@aniketbisht2823
@aniketbisht2823 13 дней назад
UB means that the compilers get to assume certain conditions (pre-conditions) about particular statements and optimize based on that. If you force the compiler to define a behaviour for the violation of those preconditions then the compiler doesn't get that privilege (to optimize).
@JohnDlugosz
@JohnDlugosz 10 дней назад
UB has a run-time component, so it's not just treating the construct as an error, but inserting tests. Things that _are_ strictly compile-time probably do have warnings/errors that can be enabled.
@SamWhitlock
@SamWhitlock 10 дней назад
16:45 I never realized how compilers used `lea` on a random address to use the address calculation instead of the integer calculation. That's clever!
@sunnyyasser5625
@sunnyyasser5625 16 дней назад
thats a lot of info condesnsed into 1 talk
@JohnDlugosz
@JohnDlugosz 16 дней назад
15 minutes in, the video glitches and the audio does not, so it's out of sync by a couple seconds. That's why you always proof the final encoded file, before uploading. Fortunately, it glitches back half a minute later, so it's not doing that for the entire video. I wonder what else is going to happen over the course of 90 minutes.
Далее
C++ Should Be C++ - David Sankel - C++Now 2024
1:28:49
Просмотров 18 тыс.
WHO IS MORE GREEDY?!
00:18
Просмотров 934 тыс.
I tried Swift and came out a different person
1:56:59
Просмотров 68 тыс.
Coding Was HARD Until I Learned These 5 Things...
8:34
AWS CEO - The End Of Programmers Is Near
28:08
Просмотров 464 тыс.
Why More People Dont Use Linux
18:51
Просмотров 222 тыс.