Also available on dev.to/bitmaybewise...
Bit Maybe Wise - Tsonnet #32 - != done, but getting there
bitmaybewise.substack.com/p/tsonnet-32...
Bit Maybe Wise - Tsonnet #31 - Taking back control of equality
bitmaybewise.substack.com/p/tsonnet-31...
Bit Maybe Wise - ABEND dump #25
bitmaybewise.substack.com/p/abend-dump...
Bit Maybe Wise - Tsonnet #30 - Dabbling with equality
bitmaybewise.substack.com/p/tsonnet-30...
Bit Maybe Wise - ABEND dump #24
bitmaybewise.substack.com/p/abend-dump...
Bit Maybe Wise - Tsonnet series - Table of contents
bitmaybewise.substack.com/p/tsonnet-se...
Tsonnet #29 - Making inner references work
bitmaybewise.substack.com/p/tsonnet-29...
Day 10: Fixed loop count? Compiler transforms code surprisingly. At 50 iterations it switches strategy. What's the cutoff and why?
xania.org/202512/10-lo...
youtu.be/HvF3tF2efEA
#AoCO2025
Day 9: Why does the compiler keep an "expensive" multiply in the loop instead of using clever addition tricks? The slower operation enables something more valuable. What's the hidden benefit?
xania.org/202512/09-in...
youtu.be/vZk7Br6Vh1U
#AoCO2025
Day 8 of Advent of Compiler Optimisations! π
Index-based for vs pointer while vs range-for vs std::accumulateβwhich is fastest? Three produce identical assembly, but one doesn't!
xania.org/202512/08-go...
youtu.be/FB8Hgj3TpJM
#AoCO2025
Day 7: Dividing by 10 compiles to... no division at all!
How does the compiler pull this off? Magic constants, bit shifts, and a clever arithmetic trick.
xania.org/202512/07-di...
youtu.be/V9Pvv1tkocM
#AoCO2025
Day 6 of Advent of Compiler Optimisations! Divide by 512βjust a shift, right? But the compiler adds extra instructions. Why? A subtle difference between what you asked and what you meant!
xania.org/202512/06-di...
youtu.be/7Rtk0qOX9zs
#AoCO2025
Day 5 of Advent of Compiler Optimisations! x86 has LEA, but ARM has the barrel shifterβinstructions can shift operands cheaply. The compiler uses this to multiply without multiplying!
xania.org/202512/05-ba...
youtu.be/TZubUyr2UEY
#AoCO2025
Tsonnet #28 - Debugging gets pretty (printed)
bitmaybewise.substack.com/p/tsonnet-28...
Day 4 of Advent of Compiler Optimisations! Multiply by constantsβwhich ones use actual multiply? The compiler has tricks to avoid it, then saves you from your own clever hacks.
xania.org/202512/04-mu...
youtu.be/1X88od0miHs
#AoCO2025
Day 3 of Advent of Compiler Optimisations! A while loop, recursion, direct additionβall compile to one instruction. The compiler sees the pattern beneath the code.
xania.org/202512/03-mo...
youtu.be/wHg9lYPMvvE
#AoCO2025
Day 2: Adding two integers on x86? Not with `add`! The compiler uses a completely different instructionβone designed for memory addressing. Why? xania.org/202512/02-ad... youtu.be/BOvg0sGJnes #AoCO2025
Ever wonder why compilers use `xor eax, eax` to zero registers? It's smaller AND fasterβCPUs optimise it out entirely!
Day 1 of Advent of Compiler Optimisations: xania.org/202512/01-xo...
Video: youtu.be/eLjZ48gqbyg
#AoCO2025
Today I learned that NASA has a collection of free ebooks that can be downloaded as pdfs or ebub format.
The science books even include a childrenβs section with fun activites and coloring books!
science.nasa.gov/multimedia/s...
Bit Maybe Wise - ABEND dump #23
bitmaybewise.substack.com/p/abend-dump...
open.spotify.com/track/0aTZCg... -- eu escuto essa mΓΊsica gravada ao vivo, e ouΓ§o o FalcΓ£o cantando hahahaha
Bit Maybe Wise - Tsonnet #27 - Consistency, consistency, consistency
bitmaybewise.substack.com/p/tsonnet-27...