It's beginning to look a lot like vectors

Posted on December 31, 2025 · 1 min read · tagged with: #performance #vectors #SIMD

To enjoy this post the most, please play It’s Beginning to Look a Lot Like Christmas by Michael Bublé.


It’s beginning to look a lot like vectors,
Everywhere you go.
Take a look at your loops and then, they’re faster once again,
With SIMD lanes and hardware paths aglow.

It’s beginning to look a lot like vectors,
In System.Numerics store.
But the prettiest sight to see is the hardware flag so free,
IsHardwareAccelerated on your core.

A pair of Vector128s and Vector256s that fits,
Is the wish of every dev.
For ARM, a Vector64 will do, making loops feel fresh and new,
A wish for JIT and Jen.

With Add, Subtract, and Multiply, the data starts to fly,
No scalar path can quite compare to them.
And a PR for xxHash, showed us all the way to dash,
And optimize our code right to the stem.

It’s beginning to look a lot like vectors,
So check the buffer’s size.
With a scalar path for tails, your vectorized code prevails,
Call LoadAligned and LoadUnsafe wise.