Decision Workspace
alloca vs stackalloc vs history_stack
Side-by-side comparison of Rust crates
49
alloca
growingv0.4.0
Mostly safe wrapper for alloca
46
stackalloc
growingv1.2.1
Safely allocate and manipulate arbitrarily-sized slices on the stack at runtime
39
history_stack
growingv0.1.0
A collection of containers that support generic history tracking mechanisms
Core Metrics
| alloca | stackalloc | history_stack | |
|---|---|---|---|
| Health Score | 49 | 46 | 39 |
| Total Downloads | 7.6M | 35.1K | 1.5K |
| 30d Downloads | 2.8M | 2.4K | 3 |
| Dependents | 68 | 8 | 0 |
| Releases | 10 | 7 | 1 |
| Last Updated | 967d ago | 688d ago | 849d ago |
| Age | 5y 2m | 5y | 2y 3m |
Health Breakdown
alloca
Maintenance
4
Quality
16
Community
11
Popularity
8
Documentation
10
stackalloc
Maintenance
4
Quality
22
Community
6
Popularity
5
Documentation
9
history_stack
Maintenance
1
Quality
16
Community
6
Popularity
4
Documentation
12
Technical Details
| alloca | stackalloc | history_stack | |
|---|---|---|---|
| Version | 0.4.0 | 1.2.1 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | MPL-2.0 |
| Dependencies | 1 | 3 | 0 |
| Crate Size | 4KB | 11KB | 10KB |
| Features | 1 | 3 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2018 | 2021 |
| MSRV | — | — | 1.65 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •alloca leads with a health score of 49/100, but none of the options score above 80.
- •⚠ alloca, stackalloc, history_stack have not been updated in over a year.
- •alloca, history_stack are pre-1.0 — API may change.