Michael Caisse
michael.caisse.io
Michael Caisse
@michael.caisse.io
bithead : C++, embedded, hardware, software, and mentoring. Passionate about Software Engineering. @intel Silicon Engineering. Sabre fencer.
Reposted by Michael Caisse
A few folks have asked if there's a single list of the #AoCO2025 posts and there is: xania.org/AoCO2025-arc...

It's in reverse order but they're all there!
AoCO2025 Archive — Matt Godbolt’s blog
xania.org
December 26, 2025 at 8:13 PM
Reposted by Michael Caisse
Day 25 of #AoCO2025! 🎄 The final day! Thank you for joining this journey through compiler optimisations. From xor to vectorisation, it's been a wild ride. Happy holidays! 🎁

xania.org/202512/25-th...
youtu.be/N1sRfYwzmso
Thank you — Matt Godbolt’s blog
The end of the 2025 Advent of Compiler Optimisation
xania.org
December 25, 2025 at 1:34 PM
Reposted by Michael Caisse
This is one of our favorites!
December 24, 2025 at 8:24 PM
Reposted by Michael Caisse
Day 24 of #AoCO2025! A loop summing 0+1+2+...+n. GCC unrolls it. Clang does something jaw-dropping: the loop vanishes entirely, replaced by a direct calculation. How?!

xania.org/202512/24-cu...
youtu.be/V9dy34slaxA
When compilers surprise you — Matt Godbolt’s blog
Sometimes compilers can surprise and delight even a jaded old engineer like me
xania.org
December 24, 2025 at 1:21 PM
Listening to the Smiths and rocking my grandson to sleep.
December 24, 2025 at 4:25 AM
Reposted by Michael Caisse
No Advent of Code for me. Instead, I've used the break to write the type-erasure library I have always wanted.

C++ doesn't make it easy to have both dynamic polymorphism *and* value semantics, but this little utility does!

Interfaces can extend other interfaces, and it works in consteval, too. 🤩
December 24, 2025 at 1:25 AM
Reposted by Michael Caisse
Day 20: Process 65,536 integers one at a time? Nah. The compiler vectorises it to handle 8 at once — same code, 8× faster! SIMD auto-vectorisation is compiler magic 🚀

xania.org/202512/20-si...
youtu.be/d68x8TF7XJs #AoCO2025
xania.org
December 20, 2025 at 12:58 PM
Reposted by Michael Caisse
The entire world is running out of RAM and for once it’s not Chrome’s fault. 🙏
December 15, 2025 at 9:34 PM
Reposted by Michael Caisse
Just so I'm clear on this, computer memory has tripled in price because a bunch of it that hasn't been produced yet has been ordered to populate GPUs that aren't installed in data centers that aren't built yet in order to service a demand that doesn't exist to make profits that don't happen.
December 15, 2025 at 12:21 PM
Reposted by Michael Caisse
Day 14: Add ONE global counter to your loop and watch LICM vanish—strlen called every iteration! Why would incrementing an unrelated variable break the optimisation? 🤔

xania.org/202512/14-li...
youtu.be/OwFNblEEAXo
#AoCO2025
When LICM fails us — Matt Godbolt’s blog
When aliasing can prevent loop-invariant code motion
xania.org
December 14, 2025 at 1:10 PM
Reposted by Michael Caisse
Day 13 of Advent of Compiler Optimisations! 🔄

Loop calling a function whose result never changes? One compiler hoists it out automatically. The other… doesn't. Even with hints!

xania.org/202512/13-li...
youtu.be/dIwaqJG0WDo

#AoCO2025
Loop-Invariant Code Motion — Matt Godbolt’s blog
The compiler can move code outside of loops to speed things up
xania.org
December 13, 2025 at 1:08 PM
I've been using Windows for 4-years now. I still don't like it.
December 13, 2025 at 3:42 AM
Reposted by Michael Caisse
I've built a text adventure game engine on top of the C++ Standard. Why? I have no idea. But it's a learning tool with quests and time travel and artifacts and NPC's and XP and ... well, you just have to check it out!

cppevo.dev/adventure
C++ Standard Adventure - cppevo
Explore the C++ standard as an interactive text adventure game. Navigate between C++ eras, collect knowledge, and learn the language.
cppevo.dev
December 12, 2025 at 12:22 AM
Reposted by Michael Caisse
"Canada Plans to Fast-Track Immigration for US H1-B Visa Holders in New Talent Drive" ☹️ share.google/WtKFYfJNhfye...
Canada Plans to Fast-Track Immigration for US H1-B Visa Holders in New Talent Drive
The government says it will fast-track immigration for U.S. H-1B visa holders and spend more than $1 billion to attract researchers from the United States and the rest of the world.
www.nytimes.com
December 9, 2025 at 11:37 PM
Reposted by Michael Caisse
men will literally write a bunch of if statements instead of implementing a state machine
December 9, 2025 at 1:20 PM
Reposted by Michael Caisse
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
Going loopy — Matt Godbolt’s blog
Exploring the ways optimisers deal with loop constructs
xania.org
December 8, 2025 at 1:10 PM
I've decided to "blog" my adventures learning Haskell with Advent of Code 2025. I don't have a lot of time to devote but will eventually finish the 12 days. If you are interested in watching a noob craft Haskell, it is on github.

github.com/mjcaisse/aoc...
December 8, 2025 at 12:19 AM
Being an adult means having pie for breakfast because you want to.
December 6, 2025 at 7:34 PM
Reposted by Michael Caisse
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
Division — Matt Godbolt’s blog
Division doesn't have to be slow with some clever tricks
xania.org
December 6, 2025 at 12:49 PM
Reposted by Michael Caisse
We have just released a new C++Now 2025 Conference Video!

Lightning Talk: constexpr Copyright - Ben Deane - C++Now 2025

#coding #cplusplus #cpp #programming
Lightning Talk: constexpr Copyright - Ben Deane - C++Now 2025
youtu.be
December 5, 2025 at 8:12 AM
Reposted by Michael Caisse
‘surprisingly’
“we estimate employment-weighted share of Americans using AI at work has fallen by a percentage point & now sits at 11%. Adoption has fallen sharply at the largest businesses, those employing +250 people. 3 yrs into the genAI wave, demand looks surprisingly flimsy” www.economist.com/finance-and-...
Investors expect AI use to soar. That’s not happening
Recent surveys point to flatlining business adoption
www.economist.com
December 4, 2025 at 6:42 PM
Sitting on the couch with my son waiting for Advent of Code to start. Read the first puzzle.

Son: "I want to do this in Haskell!"

Woot!!! I'll be doing AoC in Haskell this year.
December 1, 2025 at 5:09 AM
Reposted by Michael Caisse
I know you "need" this Christmas Winter Holiday themed pirate constexpr long sleeve shirt!

jason-turner-shop.fourthwall.com/products/con...
November 29, 2025 at 12:22 AM
Reposted by Michael Caisse
A little girl peeks inside a tuba during the National Band Festival at Crystal Palace, London, 1923
November 28, 2025 at 9:49 AM
Reposted by Michael Caisse
I'm DJing the #adventofcode 2025 unlock party again!

Tune in on twitch.tv/veloxxmusic from 10:30p Eastern until 1:30a for a countdown and great beats for the first unlock!
November 27, 2025 at 12:11 AM