Menu

📰
0

The state of SIMD in Rust in 2026 | Sergey "Shnatsel" Davidoff

Hacker News·about 16 hours ago
#RIWHV376
#shnatsel#simd#rust#std#cpu#article
Reading 0:00
15s threshold

A lot of progress was made since last year, and I made some of it! After last year's survey I started contributing to the SIMD library that seemed the most promising. One thing led to another, and now I'm a maintainer of Fearless SIMD. To avoid a conflict of interest, I invited authors of other libraries ( std::simd , wide , pulp , macerator ) to review and provide feedback on a draft of this article. However, I retained editorial control, and all mistakes are my own. This year's survey is more in-depth than my previous one. So buckle up, and let's take it... from the top! What’s SIMD? Why SIMD? Hardware that does arithmetic is cheap, so any CPU made this century has plenty of it. But you still only have one instruction decoding block and it is hard to get it to go fast, so the arithmetic hardware is vastly underutilized. To get around the instruction decoding bottleneck, you can feed the CPU a batch of numbers all at once for a single arithmetic operation like addition.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More