GitHub topics: allocator
purpleprotocol/mimalloc_rust
A Rust wrapper over Microsoft's MiMalloc memory allocator
Language: Rust - Size: 179 KB - Last synced at: about 21 hours ago - Pushed at: about 22 hours ago - Stars: 586 - Forks: 52

SYXZyt/MemGuard
Memory allocator wrapper to monitor for leaks and dangling pointers
Language: C++ - Size: 50.8 KB - Last synced at: 2 days ago - Pushed at: 3 days ago - Stars: 0 - Forks: 0

microsoft/snmalloc
Message passing based allocator
Language: C++ - Size: 5.21 MB - Last synced at: 3 days ago - Pushed at: 13 days ago - Stars: 1,655 - Forks: 114

dlang/phobos
The standard library of the D programming language
Language: D - Size: 65.6 MB - Last synced at: 3 days ago - Pushed at: 3 days ago - Stars: 1,211 - Forks: 736

spaskalev/buddy_alloc
A single header buddy memory allocator for C & C++
Language: C - Size: 632 KB - Last synced at: 4 days ago - Pushed at: 4 days ago - Stars: 180 - Forks: 12

SFBdragon/talc
A fast and flexible allocator for no_std and WebAssembly
Language: Rust - Size: 2.98 MB - Last synced at: 4 days ago - Pushed at: 5 days ago - Stars: 456 - Forks: 9

gooderfreed/arena_c
Simple and lightweight header-only arena allocator library in pure C for streamlined memory management.
Language: C - Size: 91.8 KB - Last synced at: 5 days ago - Pushed at: 5 days ago - Stars: 1 - Forks: 0

Traverse-Research/gpu-allocator
🦀 GPU memory allocator for Vulkan, DirectX 12 and Metal. Written in pure Rust
Language: Rust - Size: 11.2 MB - Last synced at: 5 days ago - Pushed at: 7 days ago - Stars: 408 - Forks: 57

qlibs/alloc
C++20 Memory Allocators library
Size: 17.6 KB - Last synced at: 7 days ago - Pushed at: 8 days ago - Stars: 34 - Forks: 1

Balun-courses/deep_go
Repository for course by Deep Go
Language: Go - Size: 2.25 MB - Last synced at: 8 days ago - Pushed at: 8 days ago - Stars: 15 - Forks: 70

CCareaga/heap_allocator
A simple heap memory allocator in ~200 lines.
Language: C - Size: 55.7 KB - Last synced at: 5 days ago - Pushed at: over 4 years ago - Stars: 891 - Forks: 67

MaulingMonkey/ialloc
Allocator interface traits for Rust
Language: Rust - Size: 586 KB - Last synced at: 11 days ago - Pushed at: 11 days ago - Stars: 2 - Forks: 0

rust-hosted-langs/book
Writing Interpreters in Rust: a Guide
Language: Rust - Size: 3.15 MB - Last synced at: 7 days ago - Pushed at: 3 months ago - Stars: 500 - Forks: 31

rust-embedded/embedded-alloc
A heap allocator for embedded systems
Language: Rust - Size: 118 KB - Last synced at: 10 days ago - Pushed at: 3 months ago - Stars: 378 - Forks: 57

mjansson/rpmalloc
Public domain cross platform lock free thread caching 16-byte aligned memory allocator implemented in C
Language: Python - Size: 2.44 MB - Last synced at: 12 days ago - Pushed at: about 1 month ago - Stars: 2,249 - Forks: 199

plasma-umass/Mesh
A memory allocator that automatically reduces the memory footprint of C/C++ applications.
Language: C++ - Size: 5.69 MB - Last synced at: 11 days ago - Pushed at: 10 months ago - Stars: 1,806 - Forks: 79

foonathan/memory
STL compatible C++ memory allocator library using a new RawAllocator concept that is similar to an Allocator but easier to use and write.
Language: C++ - Size: 2.37 MB - Last synced at: 11 days ago - Pushed at: 9 months ago - Stars: 1,518 - Forks: 200

ZSYTY/STL-allocator
Final project of Object-Oriented-Programming: STL allocator + memory pool
Language: C++ - Size: 76.2 KB - Last synced at: 10 days ago - Pushed at: almost 6 years ago - Stars: 11 - Forks: 1

rustwasm/wee_alloc
The Wasm-Enabled, Elfin Allocator
Language: Rust - Size: 281 KB - Last synced at: 9 days ago - Pushed at: about 2 years ago - Stars: 687 - Forks: 48

ccgargantua/arena-allocator
Super small, simple, and C89-compliant single-header arena "allocator".
Language: C - Size: 184 KB - Last synced at: 13 days ago - Pushed at: 11 months ago - Stars: 62 - Forks: 1

zakarumych/gpu-alloc
Implementation agnostic memory allocator for Vulkan-like APIs
Language: Rust - Size: 195 KB - Last synced at: 2 days ago - Pushed at: about 1 year ago - Stars: 87 - Forks: 17

jgabaut/koliseo
An arena allocator library in C.
Language: C - Size: 255 KB - Last synced at: 12 days ago - Pushed at: 12 days ago - Stars: 6 - Forks: 0

johnsonjh/duma
duma: Detect Unintended Memory Access (D.U.M.A.) - A Red-Zone memory allocator
Language: C - Size: 10.2 MB - Last synced at: 18 days ago - Pushed at: 21 days ago - Stars: 109 - Forks: 12

suirad/adma
A general purpose, multithreaded capable slab allocator for Zig
Language: Zig - Size: 20.5 KB - Last synced at: 11 days ago - Pushed at: about 4 years ago - Stars: 60 - Forks: 1

bcrist/Zig-TempAllocator
Arena allocator for interactive programs and simulations
Language: Zig - Size: 40 KB - Last synced at: 13 days ago - Pushed at: about 1 month ago - Stars: 4 - Forks: 0

rcore-os/buddy_system_allocator
A buddy system allocator in pure Rust.
Language: Rust - Size: 81.1 KB - Last synced at: 14 days ago - Pushed at: 7 months ago - Stars: 104 - Forks: 25

teleprint-me/linear.c
Linear allocators for managing memory regions in C.
Language: C - Size: 132 KB - Last synced at: 22 days ago - Pushed at: 22 days ago - Stars: 0 - Forks: 0

pavel-kirienko/o1heap
Constant-complexity deterministic memory allocator (heap) for hard real-time high-integrity embedded systems. Allocation takes ≈165 cycles on Cortex M4. There is very little activity because the project is finished and does not require further changes.
Language: C++ - Size: 6.39 MB - Last synced at: 16 days ago - Pushed at: about 1 year ago - Stars: 282 - Forks: 34

iHhx/Algorithms
Different algorithms implemented in C++
Language: C++ - Size: 47.9 KB - Last synced at: 26 days ago - Pushed at: 26 days ago - Stars: 1 - Forks: 0

zakarumych/blink-alloc
Fast, concurrent, arena-based allocator with drop support
Language: Rust - Size: 141 KB - Last synced at: 2 days ago - Pushed at: about 1 year ago - Stars: 125 - Forks: 3

thi-ng/tinyalloc
malloc / free replacement for unmanaged, linear memory situations (e.g. WASM, embedded devices...)
Language: C - Size: 153 KB - Last synced at: 11 days ago - Pushed at: 9 months ago - Stars: 787 - Forks: 79

Photosounder/CITAlloc
Compact Info Table Allocator, a malloc implementation for analysis that provides detailed info about all the buffers
Language: C - Size: 4.14 MB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 1 - Forks: 0

eagletrt/libarena-allocator-sw
Simple implementation of an arena allocator suitable for all devices
Language: C - Size: 25.4 KB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 0 - Forks: 0

llefranc/42_ft_containers
School project: reimplement the STL containers (using allocator, double linked list and AVL binary trees).
Language: C++ - Size: 3.15 MB - Last synced at: 8 days ago - Pushed at: over 3 years ago - Stars: 27 - Forks: 1

Windfisch/rust-assert-no-alloc
Custom Rust allocator allowing to temporarily disable memory (de)allocations for a thread. Aborts or prints a warning if allocating although forbidden.
Language: Rust - Size: 42 KB - Last synced at: 25 days ago - Pushed at: over 1 year ago - Stars: 52 - Forks: 9

rustatian/rock
Parser for the golang pprof profile format with mimalloc (on Linux) allocator
Language: Rust - Size: 14.9 MB - Last synced at: 8 days ago - Pushed at: over 2 years ago - Stars: 1 - Forks: 2

hendriknielaender/shuffling-allocator.zig
a shuffling allocator
Language: Zig - Size: 46.9 KB - Last synced at: 3 days ago - Pushed at: about 1 month ago - Stars: 2 - Forks: 0

bastion-rs/allocator-suite
Allocator Suite which contains various allocators for workload-specific allocation.
Language: Rust - Size: 251 KB - Last synced at: 4 days ago - Pushed at: almost 4 years ago - Stars: 15 - Forks: 3

bastion-rs/numanji
Local-affinity first NUMA-aware allocator with optional fallback.
Language: Rust - Size: 771 KB - Last synced at: 4 days ago - Pushed at: almost 4 years ago - Stars: 24 - Forks: 1

shynur/ipcator
Allocator of Inter-Process Shared Memory Resources. 进程间共享内存资源的分配器, POSIX-compatible.
Language: C++ - Size: 194 KB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 0 - Forks: 0

akhin/llmalloc
A low latency oriented thread caching allocator for Linux/Windows. Single header & LD_PRELOADable.
Language: C++ - Size: 5.55 MB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 20 - Forks: 0

Nihlus/zalloc
zalloc is a safety- and security-oriented wrapper around malloc.
Language: C - Size: 59.6 KB - Last synced at: 22 days ago - Pushed at: almost 4 years ago - Stars: 7 - Forks: 0

fklr/atomalloc
atomalloc is an asynchronous, atomic, and lock-free memory allocator written in pure safe Rust
Language: Rust - Size: 26.4 KB - Last synced at: 2 days ago - Pushed at: about 2 months ago - Stars: 29 - Forks: 0

foonathan/array
contiguous container library - arrays with customizable allocation, small buffer optimization and more
Language: C++ - Size: 224 KB - Last synced at: 17 days ago - Pushed at: about 5 years ago - Stars: 254 - Forks: 16

julenbhy/CCGrid2025-artifacts-Let-It-Unthread
CCGrid2025 artifacts related to Let It Unthread: The Good, The Bad and The Ugly within WebAssembly Portable Multithreading.
Language: C - Size: 21.4 MB - Last synced at: about 2 months ago - Pushed at: about 2 months ago - Stars: 1 - Forks: 0

thehxdev/libarena
Single-header Arena allocator library with multi-buffer support
Language: C - Size: 12.7 KB - Last synced at: 9 days ago - Pushed at: 3 months ago - Stars: 5 - Forks: 0

atilaneves/automem
C++-style automatic memory management smart pointers for D
Language: D - Size: 309 KB - Last synced at: about 1 month ago - Pushed at: 2 months ago - Stars: 90 - Forks: 15

ickk/orderly-allocator
A super-simple soft-realtime allocator
Language: Rust - Size: 33.2 KB - Last synced at: 21 days ago - Pushed at: 3 months ago - Stars: 7 - Forks: 0

stephengold/stack-alloc
Allocate Java objects from method stack instead of the program heap.
Language: Java - Size: 573 KB - Last synced at: 9 days ago - Pushed at: about 2 months ago - Stars: 3 - Forks: 0

rossonlinesolutions/allocator
A fast and leightweight heap allocator, written in x64 nasm assembler.
Language: Assembly - Size: 19.5 KB - Last synced at: about 2 months ago - Pushed at: about 2 months ago - Stars: 0 - Forks: 0

Enichan/Arenas
Unmanaged arena memory allocators for C#/CSharp with easy interactions between managed and unmanaged references
Language: C# - Size: 249 KB - Last synced at: about 1 month ago - Pushed at: over 1 year ago - Stars: 102 - Forks: 3

kassane/zig-gpa-ffi
Testing GPA in FFI
Language: Zig - Size: 21.5 KB - Last synced at: 8 days ago - Pushed at: about 2 months ago - Stars: 2 - Forks: 0

ANSI-Christ/C-pile
A simple C allocator that treats an array of bytes as a heap
Language: C - Size: 5.86 KB - Last synced at: about 2 months ago - Pushed at: about 2 months ago - Stars: 0 - Forks: 0

Alignof/wild-screen-alloc
何なのよ,𝒘𝒊(𝒍)𝒅-𝒔𝒄𝒓𝒆𝒆𝒏 𝗮𝗹𝗹𝗼𝗰 って
Language: Rust - Size: 185 KB - Last synced at: 6 days ago - Pushed at: 6 days ago - Stars: 1 - Forks: 0

evanwashere/wasm
fast wasm modules
Language: JavaScript - Size: 36.2 MB - Last synced at: 8 days ago - Pushed at: almost 3 years ago - Stars: 49 - Forks: 2

janchy2/Operating-System-Kernel-RiscV
A small but fully functional kernel of a multithreaded operating system with time sharing, written for RISC V architecture using assembly and C/C++. Includes a memory allocator, threads, semaphores and preemption on timer and keyboard interrupts.
Language: C++ - Size: 596 KB - Last synced at: about 1 month ago - Pushed at: 6 months ago - Stars: 1 - Forks: 0

jurgen-kluft/cbase
C++ cross-platform base library
Language: C++ - Size: 3.32 MB - Last synced at: 2 months ago - Pushed at: 2 months ago - Stars: 2 - Forks: 0

LemonHX/mimalloc-rust
The Best and Highest-Leveled and Newest bingding for MiMalloc Ever Existed in Rust
Language: C - Size: 316 KB - Last synced at: 17 days ago - Pushed at: 11 months ago - Stars: 61 - Forks: 8

fereidani/opool
High-performance, lock-free local and concurrent object memory pool with automated allocation, cleanup, and verification.
Language: Rust - Size: 16.6 KB - Last synced at: 15 days ago - Pushed at: 10 months ago - Stars: 27 - Forks: 4

backtrace-labs/poireau
Poireau: a sampling allocation debugger
Language: Python - Size: 79.1 KB - Last synced at: about 5 hours ago - Pushed at: about 3 years ago - Stars: 87 - Forks: 5

Lancern/erased-type-arena
An allocation arena for allocating values of different types while performing proper dropping
Language: Rust - Size: 22.5 KB - Last synced at: 7 days ago - Pushed at: about 3 years ago - Stars: 7 - Forks: 0

dataphract/acid_alloc
Bare-metal allocators.
Language: Rust - Size: 147 KB - Last synced at: 1 day ago - Pushed at: over 2 years ago - Stars: 76 - Forks: 2

jfrimmel/emballoc
Simple but reliable memory allocator for embedded Rust and #![no_std]
Language: Rust - Size: 86.9 KB - Last synced at: 10 days ago - Pushed at: 7 months ago - Stars: 10 - Forks: 2

fabianbs96/pool_allocator
Custom memory allocators for speeding up node-based containers and object graphs
Language: C++ - Size: 20.5 KB - Last synced at: about 1 month ago - Pushed at: almost 4 years ago - Stars: 3 - Forks: 1

GoldenbergDaniel/ArenaAllocator
Header-only arena allocator implementation in C.
Language: C - Size: 28.3 KB - Last synced at: 3 months ago - Pushed at: 3 months ago - Stars: 9 - Forks: 0

sos-os/alarm
ALARM: Another Library for Allocating and Releasing Memory
Language: Rust - Size: 192 KB - Last synced at: 27 days ago - Pushed at: about 6 years ago - Stars: 9 - Forks: 6

mulle-c/mulle-allocator
🔄 Flexible C memory allocation scheme
Language: C - Size: 457 KB - Last synced at: 3 months ago - Pushed at: 3 months ago - Stars: 77 - Forks: 1

unikraft/lib-mimalloc
Port of mimalloc
Language: C - Size: 12.7 KB - Last synced at: 12 days ago - Pushed at: 10 months ago - Stars: 2 - Forks: 11

AWBroch/rsbmalloc
A simple but fast binned allocator for Rust. Single-threaded for no_std, multi-threaded and concurrent otherwise.
Language: Rust - Size: 50.8 KB - Last synced at: 25 days ago - Pushed at: 12 months ago - Stars: 7 - Forks: 2

LLNL/metall
Persistent memory allocator for data-centric analytics
Language: C++ - Size: 76.9 MB - Last synced at: 11 days ago - Pushed at: 23 days ago - Stars: 54 - Forks: 14

Thermadiag/micromalloc
Low memory overhead allocator
Language: C++ - Size: 355 KB - Last synced at: 23 days ago - Pushed at: 5 months ago - Stars: 29 - Forks: 0

albe/libpspvram
Dynamic VRAM allocation manager for the PSP
Language: C - Size: 7.81 KB - Last synced at: 18 days ago - Pushed at: almost 4 years ago - Stars: 8 - Forks: 6

hansen-audio/aligned-allocator
Allocator for STL containers, which can allocate e.g. 16-byte aligned memory.
Language: C++ - Size: 27.3 KB - Last synced at: 6 days ago - Pushed at: almost 4 years ago - Stars: 5 - Forks: 0

tobz/tracking-allocator
global allocator for Rust that provides hooks for tracking allocations
Language: Rust - Size: 125 KB - Last synced at: 4 days ago - Pushed at: about 2 years ago - Stars: 48 - Forks: 4

jmcomets/tcmalloc-rs
A drop-in GlobalAlloc implementation using tcmalloc from gperftools.
Language: Rust - Size: 23.4 KB - Last synced at: 1 day ago - Pushed at: over 1 year ago - Stars: 18 - Forks: 8

zeozeozeo/contiguous-arena
Efficient, reusable memory arena for Rust with support for contiguous memory blocks.
Language: Rust - Size: 13.7 KB - Last synced at: about 23 hours ago - Pushed at: 4 months ago - Stars: 1 - Forks: 0

janbaig/memory-allocator
A Memory Allocator - Implementations of malloc, calloc, realloc and free
Language: C - Size: 22.5 KB - Last synced at: about 2 months ago - Pushed at: almost 2 years ago - Stars: 1 - Forks: 0

giovanni-iannaccone/memory-allocator
Cross platform memory allocator 💿
Language: C++ - Size: 34.2 KB - Last synced at: about 1 month ago - Pushed at: 4 months ago - Stars: 0 - Forks: 0

DevByEagle/xalloc
A fast, header-only memory allocator optimized for efficient allocation and deallocation.
Language: C - Size: 47.9 KB - Last synced at: 4 months ago - Pushed at: 4 months ago - Stars: 1 - Forks: 0

noncombatant/kr-malloc
Original K&R `malloc`, and some modern reinterpretations for fun.
Language: C - Size: 38.1 KB - Last synced at: 4 days ago - Pushed at: almost 2 years ago - Stars: 3 - Forks: 0

karlobratko/mem
A single-header STB-style memory allocation library inspired by Zig allocators design
Language: C - Size: 42 KB - Last synced at: 4 months ago - Pushed at: 4 months ago - Stars: 0 - Forks: 0

mandober/alligator
Free list allocator
Language: C - Size: 5.86 KB - Last synced at: 2 months ago - Pushed at: 4 months ago - Stars: 0 - Forks: 0

jakubtomsu/odin-mimalloc
Odin bindings for mimalloc (https://github.com/microsoft/mimalloc). mimalloc is a compact general purpose allocator with excellent performance.
Language: C - Size: 200 KB - Last synced at: 22 days ago - Pushed at: almost 2 years ago - Stars: 10 - Forks: 2

intel/flexmalloc
Flexible memory allocation tool for multi-tiered memory systems
Language: Roff - Size: 531 KB - Last synced at: 3 months ago - Pushed at: 3 months ago - Stars: 12 - Forks: 6

maolonglong/zig-buddy2
🧿 A simple buddy memory allocation library.
Language: Zig - Size: 18.6 KB - Last synced at: 23 days ago - Pushed at: 5 months ago - Stars: 3 - Forks: 1

XenoAtom/XenoAtom.Allocators
This library provides fast, lightweight and low-level memory allocators for .NET (e.g TLSF)
Language: C# - Size: 537 KB - Last synced at: 3 days ago - Pushed at: 9 months ago - Stars: 38 - Forks: 2

jorisgeer/yalloc
Yet another memory allocator -affordable safety
Language: C - Size: 1.33 MB - Last synced at: 5 months ago - Pushed at: 5 months ago - Stars: 0 - Forks: 0

f1shl3gs/rust-scudo Fork of google/rust-scudo
Scudo Allocator used in Fuchsia and Android
Language: Rust - Size: 205 KB - Last synced at: 5 months ago - Pushed at: 5 months ago - Stars: 1 - Forks: 0

gilzoide/c-allocators
A collection of public domain single-file custom allocators for C/C++
Language: C - Size: 41 KB - Last synced at: 19 days ago - Pushed at: about 4 years ago - Stars: 5 - Forks: 0

FlorealRISSO/smalloc
smalloc is a proof-of-concept (POC) memory allocator that demonstrates an approach to memory management. The key idea is to reserve the beginning of a memory page for storing the status of allocations within that page, while using the rest of the page for the actual allocations.
Language: C - Size: 11.7 KB - Last synced at: 5 months ago - Pushed at: 5 months ago - Stars: 0 - Forks: 0

MDKAMALHOSAINV1994/Wap-Blogger-
Click here Joining
Size: 14.6 KB - Last synced at: 5 months ago - Pushed at: 5 months ago - Stars: 0 - Forks: 0

redox-os/ralloc
Mirror of https://gitlab.redox-os.org/redox-os/ralloc
Language: Rust - Size: 363 KB - Last synced at: 5 months ago - Pushed at: over 4 years ago - Stars: 323 - Forks: 31

jurgen-kluft/callocator
ccore, c++ allocators and pools library
Language: C++ - Size: 2.16 MB - Last synced at: 6 months ago - Pushed at: 6 months ago - Stars: 5 - Forks: 0

fabricio-p/as-malloc
A memory allocator written for AssemblyScript
Language: TypeScript - Size: 13.7 KB - Last synced at: 29 days ago - Pushed at: over 3 years ago - Stars: 24 - Forks: 1

alpluspluss/jalloc
Just an Allocator™ - A performant memory allocator in C/C++
Language: C++ - Size: 86.9 KB - Last synced at: 6 months ago - Pushed at: 6 months ago - Stars: 1 - Forks: 0

xoofx/Varena
Varena is a .NET library that provides a fast and lightweight arena allocator using virtual memory.
Language: C# - Size: 83 KB - Last synced at: 5 months ago - Pushed at: about 1 year ago - Stars: 166 - Forks: 5

jjyr/buddy-alloc
Buddy-alloc is a memory allocator for no-std Rust, used for embedded environments.
Language: Rust - Size: 80.1 KB - Last synced at: 6 months ago - Pushed at: 6 months ago - Stars: 28 - Forks: 7

akhin/metamalloc
Malloc as a single-header library. Linux & Windows . Can also be used for local allocations. Repo also provides a live per-thread HTTP memory profiler as a separate single-header with no dependencies
Language: C++ - Size: 3.1 MB - Last synced at: 6 months ago - Pushed at: 6 months ago - Stars: 104 - Forks: 3

IrrelevantGaymer/stack_frame_allocator
A Rust crate featuring custom memory allocators based off the stack and creating "Frames"
Language: Rust - Size: 87.9 MB - Last synced at: 26 days ago - Pushed at: 6 months ago - Stars: 0 - Forks: 0

lylythechosenone/vmem 📦
A resource management system providing O(1) allocation and deallocation
Language: Rust - Size: 82 KB - Last synced at: 4 days ago - Pushed at: about 1 year ago - Stars: 0 - Forks: 0
