Lightning Talk: Writing a Lookup Table in C++
summary
Implements a lookup table of successive integers using only punctuation operators because alphanumeric keys are “broken,” expressing constants with things like !false then ~ to get 1, left shifts for powers of two, and short arithmetic factorizations for composites; assembles an array of increment results entirely in normal C++ without new syntax. Table length grows logarithmically with token count, fitting roughly base 1.136 per added symbol, a surprisingly small base.
AI-written summary · about
related talks
03mKeyword Abuse
05mLightning Talk: C++ String Literals Have the Wrong Type
03mLightning Talk: C++ Catastrophes: A Poem
06mArithmetic in C++ Using Counting Pointers
01h 28mProgramming in Modern C with a Sneak Peek into C23
05mLightning Talk: List
51mC++ Features You Might Not Know
01h 36mEmbracing User-Defined Literals Safely
