A fast and flexible allocator for no_std and WebAssembly
See the codeIf you find Talc useful, please consider leaving tip via Paypal or Ko-Fi
no_std environmentsPerformance:
Features:
TalcCell for single-threaded allocation with GlobalAlloc and Allocatorlock_api for multi-threaded allocation using TalcLockallocator-api2 for using the Allocator API in safe Rust"counters": Provides allocation statistics for debugging and performance insightsIf you're on a mature hosted system, especially one that jemalloc or mimalloc supports, consider those instead.
Those provide allocation concurrency, well-tested virtual memory API integration,
and are all-round more mature and sophisticated and more cleverly implemented than Talc.
Even the default allocator for Rust on Linux, for example, has impressive performance characteristics.
(top 24 of 39)
6,267 followers · starred Jun 2025
1,036 followers · starred Dec 2024
8,226 followers · starred May 2025
2,273 followers · starred Jul 2023
A fast and flexible allocator for no_std and WebAssembly
See the codeIf you find Talc useful, please consider leaving tip via Paypal or Ko-Fi
no_std environmentsPerformance:
Features:
TalcCell for single-threaded allocation with GlobalAlloc and Allocatorlock_api for multi-threaded allocation using TalcLockallocator-api2 for using the Allocator API in safe Rust"counters": Provides allocation statistics for debugging and performance insightsIf you're on a mature hosted system, especially one that jemalloc or mimalloc supports, consider those instead.
Those provide allocation concurrency, well-tested virtual memory API integration,
and are all-round more mature and sophisticated and more cleverly implemented than Talc.
Even the default allocator for Rust on Linux, for example, has impressive performance characteristics.
(top 24 of 39)
6,267 followers · starred Jun 2025
1,036 followers · starred Dec 2024
8,226 followers · starred May 2025
2,273 followers · starred Jul 2023