Crates / ndarray / Alternatives
Rust crate alternatives · data Oct 24, 2026
Alternatives to ndarray
Short answerThe closest alternatives to ndarray on crates.io data are arrayvec (1.7M real downloads a day), either (3M real downloads a day), generic-array (2.8M real downloads a day). Of the 8 we list, the most used is either, and 5 shipped a release in the last year. ndarray itself gets 354,525 a day with 2,985 dependents.
Every alternative we found
| Alternative | Real downloads a day | vs ndarray | Dependents | Last release | Why it is listed | |
|---|---|---|---|---|---|---|
| arrayvec Widely used | 1,733,744 | 4.89x | 1,215 | 4mo | category Data structures, keyword "array", keyword "data-structure" | side by side |
| either Widely used | 3,049,603 | 8.60x | 1,488 | 18d | category Data structures, keyword "data-structure" | compare |
| generic-array Established | 2,819,219 | 7.95x | 542 | 2mo | category Data structures, keyword "array" | compare |
| petgraph Widely used | 1,525,364 | 4.30x | 1,570 | 13mo | category Data structures, keyword "data-structure" | compare |
| fixedbitset Established | 1,507,079 | 4.25x | 199 | 2.5y | category Data structures, keyword "data-structure" | compare |
| triomphe Established | 238,807 | 0.67x | 172 | 14d | category Data structures, keyword "data-structure" | compare |
| nibble_vec Pulled in | 234,547 | 0.66x | 3 | 6.3y | category Data structures, keyword "data-structure" | compare |
| nalgebra Widely used | 206,314 | 0.58x | 2,134 | 5mo | category Science, keyword "matrix" | compare |
How to choose
- Same job, not the same API. Each line is listed because it shares a crates.io category or keyword with ndarray; read its description before you swap.
- More dependents means more answered questions and a smaller chance it disappears.
- Check the last release against how fast you need fixes. For ndarray: is it still maintained?
Rules
Alternatives = tracked crates (top 1000 by downloads) that share a specific crates.io category (2 points each) or keyword (3 points each) with ndarray, most similar first; its own parts (same name prefix) and crates it depends on or that depend on it are left out, because those are companions, not substitutes. Real downloads = quiet-day median, crates.io data Oct 24, 2026. Built when we find 3 or more.
Up next
The closest alternative: Widely used and steady. 1,733,744 real downloads a day.arrayvecRust crate. A vector with fixed capacity, backed by an array (it can be stored on the stack too). Implements fixed capacity ArrayVec and ArrayString. Real use: 1.7M...Read it next →Also worth your time