Decision Workspace
directx_math vs lin_alg vs glam
Side-by-side comparison of Rust crates
41
directx_math
growingv0.2.3
A rust translation of DirectXMath, a SIMD linear algebra library for use in games and graphics apps.
69
lin_alg
stablev1.4.1
Vector, matrix, and quaternion operations for general purposes
67
glam
growingv0.32.1
A simple and fast 3D math library for games and graphics
Core Metrics
| directx_math | lin_alg | glam | |
|---|---|---|---|
| Health Score | 41 | 69 | 67 |
| Total Downloads | 25.6K | 27.7K | 56.1M |
| 30d Downloads | 169 | 1.2K | 9.8M |
| Dependents | 0 | 122 | 8.7K |
| Releases | 14 | 47 | 84 |
| Last Updated | 368d ago | 32d ago | 21d ago |
| Age | 5y 11m | 1y 4m | 6y 10m |
Health Breakdown
directx_math
Maintenance
5
Quality
16
Community
6
Popularity
5
Documentation
9
lin_alg
Maintenance
18
Quality
21
Community
12
Popularity
5
Documentation
13
glam
Maintenance
19
Quality
13
Community
15
Popularity
8
Documentation
12
Technical Details
| directx_math | lin_alg | glam | |
|---|---|---|---|
| Version | 0.2.3 | 1.4.1 | 0.32.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 0 | 4 | 18 |
| Crate Size | 136KB | 36KB | 831KB |
| Features | 11 | 6 | 13 |
| Yanked % | 7.1% | 0.0% | 2.4% |
| Edition | 2018 | 2024 | 2021 |
| MSRV | — | — | 1.68.2 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •lin_alg leads with a health score of 69/100, but none of the options score above 80.
- •glam has the most downloads (56.1M), suggesting wider adoption.
- •glam is depended on by 8.7K crates — strongest ecosystem trust.
- •⚠ directx_math has not been updated in over a year.
- •directx_math, glam are pre-1.0 — API may change.