Decision Workspace
directx_math vs glam vs lin_alg
Side-by-side comparison of Rust crates
40
directx_math
growingv0.2.3
A rust translation of DirectXMath, a SIMD linear algebra library for use in games and graphics apps.
71
glam
growingv0.34.1
A simple and fast 3D math library for games and graphics
65
lin_alg
stablev1.4.3
Vector, matrix, and quaternion operations for general purposes
Core Metrics
| directx_math | glam | lin_alg | |
|---|---|---|---|
| Health Score | 40 | 71 | 65 |
| Total Downloads | 26.8K | 157.9M | 39.0K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 14.2K | 149 |
| Releases | 14 | 99 | 49 |
| Last Updated | 564d ago | 4d ago | 128d ago |
| Age | 6y 5m | 7y 4m | 1y 10m |
Health Breakdown
directx_math
Maintenance
4
Quality
16
Community
6
Popularity
5
Documentation
9
glam
Maintenance
20
Quality
13
Community
15
Popularity
8
Documentation
15
lin_alg
Maintenance
14
Quality
21
Community
12
Popularity
5
Documentation
13
Technical Details
| directx_math | glam | lin_alg | |
|---|---|---|---|
| Version | 0.2.3 | 0.34.1 | 1.4.3 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 20 | 5 |
| Crate Size | 136KB | 808KB | 39KB |
| Features | 11 | 34 | 7 |
| Yanked % | 7.1% | 2.0% | 0.0% |
| Edition | 2018 | 2024 | 2024 |
| MSRV | — | 1.85.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •glam leads with a health score of 71/100, but none of the options score above 80.
- •glam is depended on by 14.2K crates — strongest ecosystem trust.
- •⚠ directx_math has not been updated in over a year.
- •directx_math, glam are pre-1.0 — API may change.