The Most Addictive Python and SQL Courses
Live Online Classes in Design, Coding & AI — Small Classes, Free Retakes
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Explore the intricacies of a seemingly simple C++ program in this 54-minute conference talk by JF Bastien at C++ on Sea 2023. Delve into the programmer's intent behind the code *(char*)0 = 0;, examining its implications from various perspectives. Analyze how different C++ language standards interpret this code, and investigate how compilers reconcile programmer intentions with standard specifications. Examine kernel-level interpretations and hardware responses to this code. Journey through the entire stack, discussing undefined behavior and the far-reaching consequences of this concise program. Gain insights into compiler design, language standards, and low-level system interactions in this comprehensive exploration of C++ programming intricacies.
Syllabus
*(char*)0 = 0; - What Does the C++ Programmer Intend With This Code? - JF Bastien - C++ on Sea 2023
Taught by
cpponsea