Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure. Learn more →
Top 23 Rust Simd Projects
-
hora
🚀 efficient approximate nearest neighbor search algorithm collections library written in Rust 🦀 .
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
-
-
-
Project mention: Scan HTML even faster with SIMD instructions (C++ and C#) | news.ycombinator.com | 2024-07-20
-
-
Project mention: SIMD-friendly algorithms for substring searching | news.ycombinator.com | 2025-06-14
The "AVX2 (generic)" approach is roughly what ripgrep uses (via Rust's `regex` crate) to accelerate most searches. Even something like `\w+\s+Sherlock\s+\w+` will benefit since ripgrep will pluck `Sherlock` out of the regex and search that.
The actual implementation is here: https://github.com/BurntSushi/memchr?tab=readme-ov-file#algo...
The main difference with the algorithm presented here is that instead of always using the first and last bytes of the needle, a heuristic is used to try to pick two bytes that occur less frequently according to a background frequency distribution.
It ends up being quite a bit faster than just plain Two-Way or even GNU libc's implementation of `memmem`. From the root of the `memchr` repository:
$ rebar rank benchmarks/record/x86_64/2023-12-29.csv -e '^rust/memchr/memmem/(oneshot|prebuilt|twoway)' -e '^libc/memmem/oneshot'
-
Stream
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
-
There's a debate on how unsafe/unsound this technique actually is. https://github.com/ogxd/gxhash/issues/82
I definitely see the conundrum since the dangerous code is such a huge performance gain.
-
-
-
-
-
-
-
PhastFT
A high-performance, "quantum-inspired" Fast Fourier Transform (FFT) library written in pure and safe Rust.
-
SIMD-itertools
Faster implementations of standard library operations like find, filter, position etc.
Project mention: SIMD-itertools: vectorized iterators for "find", "filter", "contains", etc. | news.ycombinator.com | 2024-07-15 -
-
neural-network-from-scratch
A neural network library written from scratch in Rust along with a web-based application for building + training neural networks + visualizing their outputs
-
varint-simd
Decoding and encoding gigabytes of LEB128 variable-length integers per second in Rust with SIMD
-
less_slow.rs
Playing around "Less Slow" coding practices in Rust, from numerical micro-kernels to coroutines, ranges, and polymorphic state machines
Most hardware-level observations, like the latency of various memory accesses or numeric operations, would be the same for the Rust code. As for higher-level abstractions, I've already started porting them to Rust <https://github.com/ashvardanian/less_slow.rs>.
Next, it would be exciting to implement a concurrent job-stealing graph algorithm in both languages to get a feel for their ergonomics in non-trivial problems. I can imagine it looks very different in Rust and C++, but before I get there, I'm looking for best practices for implementing nested associative containers with shared stateful allocators in Rust.
In C++, I've implemented them like this: <https://github.com/ashvardanian/less_slow.cpp/blob/8f32d65cc...>, even though I haven't seen many people doing that in public codebases. Any good examples for Rust?
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Rust Simd discussion
Rust Simd related posts
-
The messy reality of SIMD (vector) functions
-
SIMD-friendly algorithms for substring searching
-
Scan HTML even faster with SIMD instructions (C++ and C#)
-
vu128: Efficient variable-length integers
-
Fast Fourier Transform in Rust
-
Ton Coin CKB-AUTH Integration
-
GDlog: A GPU-Accelerated Deductive Engine
-
A note from our sponsor - Stream
getstream.io | 13 Jul 2025
Index
What are some of the best open-source Simd projects in Rust? This list will help you:
# | Project | Stars |
---|---|---|
1 | hora | 2,638 |
2 | glam-rs | 1,745 |
3 | faster | 1,579 |
4 | uwu | 1,401 |
5 | simd-json | 1,282 |
6 | cgmath-rs | 1,176 |
7 | rust-memchr | 1,153 |
8 | gxhash | 933 |
9 | sonic-rs | 646 |
10 | stdarch | 641 |
11 | simdutf8 | 555 |
12 | wide | 389 |
13 | simd | 232 |
14 | multiversion | 228 |
15 | PhastFT | 219 |
16 | SIMD-itertools | 177 |
17 | thermite | 154 |
18 | neural-network-from-scratch | 133 |
19 | varint-simd | 124 |
20 | less_slow.rs | 115 |
21 | rsonpath | 97 |
22 | sliceslice-rs | 96 |
23 | faster-hex | 92 |