rulloc

General purpose memory allocator written in Rust. (by antoniosarosi)

Rulloc Alternatives

Similar projects and alternatives to rulloc based on common topics and language

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better rulloc alternative or higher similarity.

rulloc reviews and mentions

Posts with mentions or reviews of rulloc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-11.
  • Memory Allocator Written in Rust
    2 projects | /r/rust | 11 Dec 2022
    I wrote a memory allocator in Rust for learning purposes. The allocator implements std::alloc::Allocator and can be configured with multiple allocation buckets of different sizes at compile time. I carefully documented all the code, especially the data structures, so that anybody who's interested in memory allocators can understand how they work without much extra research. Pretty much all the code uses unsafe because allocators rely heavily on pointer arithmetic (also linked lists, which cannot allocate memory themselves). But the tests can be run with Miri by mocking mmap system calls using the global allocator, since Miri doesn't work with FFI. That really helped me catch a lot of bugs. It also works with multiple threads because I just dropped everything behind a Mutex, but I have ideas for optimizing that such as providing each thread with its own independent allocator. Check it out: https://github.com/antoniosarosi/memalloc-rust

Stats

Basic rulloc repo stats
1
76
10.0
over 1 year ago

antoniosarosi/rulloc is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of rulloc is Rust.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com