filmov
tv
CppCon 2018: JF Bastien “Signed integers are two's complement”
![preview_player](https://i.ytimg.com/vi/JhUxIVf1qok/maxresdefault.jpg)
Показать описание
—
—
There is One True Representation for signed integers, and that representation is two’s complement. There are, however, rumors of a fantasy world—before C++20—where ones' complement, signed magnitude and "pure binary representations" dwell. That world boasts Extraordinary Values, Padding Bits, and just like our world it hosts swaths of Undefined Behavior.
Join me in exploring this magnificent fantasy world, and discover its antics. Together we'll marvel at how the other representations were forever banished from real-world C++, doomed to cast mere shadows onto our reality.
—
JF Bastien, Compiler engineer
Apple
JF is a compiler engineer. He leads C++ development at Apple.
—
*-----*
*-----*
—
There is One True Representation for signed integers, and that representation is two’s complement. There are, however, rumors of a fantasy world—before C++20—where ones' complement, signed magnitude and "pure binary representations" dwell. That world boasts Extraordinary Values, Padding Bits, and just like our world it hosts swaths of Undefined Behavior.
Join me in exploring this magnificent fantasy world, and discover its antics. Together we'll marvel at how the other representations were forever banished from real-world C++, doomed to cast mere shadows onto our reality.
—
JF Bastien, Compiler engineer
Apple
JF is a compiler engineer. He leads C++ development at Apple.
—
*-----*
*-----*
CppCon 2018: JF Bastien “Signed integers are two's complement”
Just-in-Time Compilation - JF Bastien - CppCon 2020
*(char*)0 = 0; - What Does the C++ Programmer Intend With This Code? - JF Bastien - C++ on Sea 2023
CppCon 2016: JF Bastien “No Sane Compiler Would Optimize Atomics'
CppCon 2015: JF Bastien “C++ on the Web: Ponies for developers without pwn’ing users'
Deprecating volatile - JF Bastien - CppCon 2019
C++ Cryptozoology - A Compendium of Cryptic Characters :: #2 - Adi Shavit [ CppCon 2018 ]
Lightning Talk: Your Favorite Undefined Behavior in C++ - JF Bastien - CppNow 2023
CppCon 2018: Geoffrey Romer “What do you mean 'thread-safe'?”
CppCon 2018: “Implementing the C++ Core Guidelines’ Lifetime Safety Profile in Clang”
Engineering Software: integral types - Andrei Zlate-Podani [ CppCon 2018 ]
CppCon 2018: Billy O'Neal “Inside Visual C++' Parallel Algorithms”
CppCon 2018: James Bennett “Refactoring Legacy Codebases with LibTooling”
CppCon 2018: Richard Powell “How to Argue(ment)'
CppCon 2018: Chandler Carruth “Spectre: Secrets, Side-Channels, Sandboxes, and Security”
CppCon 2018: Richard Powell “Named Arguments from Scratch”
CppCon 2018: Phil Nash “You're Not as Smart as You Think You Are”
CppCon 2018: Jason Turner “Surprises in Object Lifetime”
CppCon 2018: “Secure Coding Best Practices: Your First Line Is The Last Line Of Defense (2 of 2)”...
CppCon 2018: Louis Dionne “Compile-time programming and reflection in C++20 and beyond”
CppCast Episode 179: San Diego EWGI Trip Report with JF Bastien
CppCon 2018: Christopher Di Bella “How to Teach C++ and Influence a Generation”
C++20 Concepts: A Day in the Life - Saar Raz - CppCon 2019
CppCon 2018: Steven Simpson “Source Instrumentation for Monitoring C++ in Production”
Комментарии