A Rust SPSC Queue That "Beats Every C++ Implementation" — Let's Check
A recent LinkedIn post recently claimed a Rust SPSC queue that "beats every C++ implementation I could find." Not by a little — by 2-8x on burst workloads. Bold claim. I love to roast bold claims though.
I took a deep look at the code and the benchmarks, then ran the queue through a proper two-thread benchmark on isolated cores alongside real C++ contenders - our TOP HFT UNIVERSITY ring buffers! What a carnage! Spoiler: it finished 2.4x behind the best C++ implementation, not ahead.
Here is why the original numbers were wrong, and what the real ones look like.
The post is free to read for logged in users (log in with Google).
For all other articles, consider subscribing: https://hftuniversity.com/pricing

