Decision Workspace
directx_math vs glam vs lin_alg
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.
68
glam
growingv0.33.0
A simple and fast 3D math library for games and graphics
68
lin_alg
stablev1.4.2
Vector, matrix, and quaternion operations for general purposes
Core Metrics
| directx_math | glam | lin_alg | |
|---|---|---|---|
| Health Score | 41 | 68 | 68 |
| Total Downloads | 25.9K | 79.3M | 29.6K |
| 30d Downloads | 0 | 13.1M | 0 |
| Dependents | 0 | 9.7K | 131 |
| Releases | 14 | 85 | 48 |
| Last Updated | 427d ago | 4d ago | 42d ago |
| Age | 6y 1m | 7y | 1y 6m |
Health Breakdown
directx_math
Maintenance
5
Quality
16
Community
6
Popularity
5
Documentation
9
glam
Maintenance
20
Quality
13
Community
15
Popularity
8
Documentation
12
lin_alg
Maintenance
17
Quality
21
Community
12
Popularity
5
Documentation
13
Technical Details
| directx_math | glam | lin_alg | |
|---|---|---|---|
| Version | 0.2.3 | 0.33.0 | 1.4.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 18 | 4 |
| Crate Size | 136KB | 842KB | 36KB |
| Features | 11 | 28 | 6 |
| Yanked % | 7.1% | 2.4% | 0.0% |
| Edition | 2018 | 2021 | 2024 |
| MSRV | — | 1.68.2 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •glam leads with a health score of 68/100, but none of the options score above 80.
- •glam is depended on by 9.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.