Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 10 Rust allocator Projects
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
As a note, you might find some references to use wee_alloc, but it has been unmaintained for some time and shouldn't be used. I'm using the default allocator with the wasm32-wasi target and it works fine, but I don't know if that works with wasm32-unknown-unknown too; if not there's lol_alloc.
Project mention: I'm wanting to write my first compiler, but getting a little bit mixed up in general. | /r/Compilers | 2023-06-24Kind of an interpreter but it does compile to bytecode and is written in rust https://github.com/rust-hosted-langs/book I thought it was a great tutorial, both for learning rust, and about compilers
> I wish Rust would switch to mimalloc or the latest tcmalloc (not the one in gperftools).
That's nonsensical. Rust uses the system allocators for compatibility, not because they're good (they were not when Rust switched away from jemalloc, and they aren't now).
If you want to use mimalloc in your rust programs, you can just set it as global allocator, that takes all of three lines: https://github.com/purpleprotocol/mimalloc_rust#usage
Project mention: Talc – A fast and flexible allocator for no_std and WebAssembly | news.ycombinator.com | 2024-02-28Added a new issue [1] to add TLSF to the benchmarks as it's likely going to be faster in a single-threaded environment according to the rlsf crate [2].
[1] https://github.com/SFBdragon/talc/issues/26
Rust allocator related posts
-
Talc – A fast and flexible allocator for no_std and WebAssembly
-
Rust + WASM + Typescript [+ React]
-
Spotting and Avoiding Heap Fragmentation in Rust Apps
-
Tips on scaling a monolithic Rust web server?
-
Junior Dev here -- How are we setting up Rust, WASM, and webpack?
-
Bizarre memory leak caused by tokio runtime
-
Don't use wee_alloc in production code targeting WebAssembly.
-
A note from our sponsor - InfluxDB
www.influxdata.com | 30 Apr 2024
Index
What are some of the best open-source allocator projects in Rust? This list will help you:
Project | Stars | |
---|---|---|
1 | wee_alloc | 632 |
2 | book | 466 |
3 | mimalloc_rust | 441 |
4 | talc | 381 |
5 | embedded-alloc | 265 |
6 | gpu-alloc | 85 |
7 | acid_alloc | 76 |
8 | tcmalloc-rs | 16 |
9 | simple-chunk-allocator | 10 |
10 | min-no-std | 0 |
Sponsored