TLDR · PROGRAMMING, DESIGN & DATA SCIENCE
OFFSET-ALLOCATOR
Summary from the TLDR newsletter
offset-allocator is a fast, simple, and hard real-time allocator especially useful for managing GPU resources. It is a port of Sebastian Aaltonen's OffsetAllocator package for C++, rewritten in 100% safe Rust. While the general algorithm in the crate could be adapted to construct a Rust allocator, this is beyond the scope of the implementation. offset-allocator is completely agnostic to what it's allocating. It only knows about a contiguous block of memory of a specific size.