~/talk

Non-conforming C++: the Secrets the Committee Is Hiding From You

Talkat CppCon 2019 · 2019-09-15..09-20· [c-and-cpp]
links:none on file
slides:none on file

Shows concrete nonstandard compiler tricks: GCC case ranges, unnamed struct/union members, omitted-operand conditional (an Elvis-like operator), designated initializers and indexed array initializers, plus flexible array members and label addresses. Demonstrates a placement-new array overhead in the standard that makes placement-array unsafe and why uninitialized_construct_n plus casts are undefined; presents a working GCC extension using a flexible-array member. Replaces interpreter switch with labels as values jump table and reports measured speedups ~15% on a toy VM and up to 41% (≈20% average) in real Lua benchmarks.

AI-written summary · about

  1. 0:00The Committee's secrets
  2. 29:48Performance tricks
  3. 43:23Conclusion and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.