Undefined Behavior From the Compiler’s Perspective - Shachar Shemesh - C++Now 2025 @CppNow
Undefined Behavior From the Compiler’s Perspective - Shachar Shemesh - C++Now 2025  @CppNow
Uploaded August 2025 | Updated December 2026, 2 hours ago
https://www.cppnow.org​
---

Undefined Behavior From the Compiler’s Perspective - A Deep Dive Into What Makes UBs So Dangerous, and Why People Rightfully Continue To Use Them Anyways - Shachar Shemesh - C++Now 2025
---

There are two ways people react to Undefined Behavior (UB) in C++. One reaction is to make this the big bad demon, out to eat all of your bits. The other is to shrug it off as some niche subject which won't matter much.

Both attitudes have some merit while, at the same time, being quite wrong.

This talk approaches UBs, not as the big bad wolf, but from the compiler's perspective. It covers what they are, what the compiler does with them and what makes them dangerous. It also covers C++ misguided approach to them, and what the C++ language (and compilers) can (and should) do to make life easier on developers.
---

Slides: docs.google.com/presentation/d/16Vq2vzsXMqtK7DWbH-RuhCgJNJneF37D8tQLvyMTcR4/edit?usp=sharing

Join think-cell as a C++ Developer and work on cutting-edge challenges with a focus on code excellence, innovation, and working alongside an international team of experts — apply now to be part of a team shaping the future of business presentations. think-cell.com/en/career
---

Shachar Shemesh

Shachar started programming over 40 years ago, and still finds pleasure in it. Programming at all levels, from bare metal to GUI, and even building whole computers on FPGAs, some with even more bits than 8.

Shachar is operating a technological YouTube channel called "Some Assembly required" and a less technical one called "Less Assembly required".

---

C++Now 2026 - 27th April - 1st 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 - cppnow.org
linkedin.com/company/cppnow​
twitter.com/cppnow
facebook.com/CppNow
reddit.com/r/CppNow
https://mastodon.social/@cppnow
Video Sponsors: think-cell and Bloomberg
---

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

#compiler #ub #boost #cpp #cplusplus #programming #coding #softwareengineering #softwaredeveloper #code #cplusplusprogramming #cplusplustutorial #cplus
Undefined Behavior From the Compiler’s Perspective - Shachar Shemesh - C++Now 2025Extending std::execution - Implementing Custom Algorithms with Senders & Receivers - C++Now 2025Towards Async Everything Part 2 - Scopes, Construction, and Destruction - Robert Leahy - C++Now 2026CPS in Cmake - Marching Towards Standard C++ Dependency Management - Bill Hoffman - C++Now 2025Keynote Session Preview - C++ Painkillers by Anastasia Kazakova with @cppeventsWhen Abstractions Fix Too Much - Towards Flexible Library Design - Patrick Roberts - C++Now 2026C++ is a Metacompiler - Daniel Nikpayuk - C++Now 2024C++ Program Correctness and its Limitations - David Sankel - C++Now 2025Post-Modern Cmake - From 3.0 to 4.0 - Vito Gamberini - C++Now 2025Senders For Existing Asynchronous Interfaces - Dietmar Kühl - C++Now 2026C++ as a Microscope Into Hardware - Linus Boehm - C++Now 2025Beautiful C++ Code - Told Through the Eyes of A Failed AI Prompt - Erich Lohrmann - C++Now 2026
CppNow |

Undefined Behavior From the Compiler’s Perspective - Shachar Shemesh - C++Now 2025

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER