Towards fearless SIMD, 7 years later
Published on: 2025-05-23 08:52:00
Towards fearless SIMD, 7 years later
Raph Levien, March 29, 2025
Seven years ago I wrote a blog post Towards fearless SIMD, outlining a vision for Rust as a compelling language for writing fast SIMD programs. Where are we now?
Unfortunately, the present-day experience of writing SIMD in Rust is still pretty rough, though there has been progress, and there are promising efforts underway. As in the previous post, this post will outline a possible vision.
Up to now, Linebender projects have not used SIMD, but that is changing. As we work on CPU/GPU hybrid rendering techniques, it's clear that we need SIMD to get maximal performance of the CPU side. We also see opportunities in faster color conversion and accelerated 2D geometry primitives.
This blog post is also a companion to a podcast I recorded recently with André Popovitch. That podcast is a good introduction to SIMD concepts, while this blog post focuses more on future directions.
A simple example
As a running example, we'll c
... Read full article.