emeryberger/Heap-Layers

★ 414⑂ 0

Heap Layers: An Extensible Memory Allocation Infrastructure

About emeryberger/Heap-Layers

emeryberger/Heap-Layers is an open-source project on GitHub, mainly written in C++. Heap Layers: An Extensible Memory Allocation Infrastructure It currently holds 414 stars and 0 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

AI Homed tracks it on the AI Agent Memory board.

GitHub Repository Details

Repository emeryberger/Heap-Layers · default branch - · size 0 KB · watchers 0 · source: GitHub REST API and repository README

README

Heap Layers: An Extensible Memory Allocation Infrastructure -----------------------------------------------------------

Copyright (C) 2000 - 2012 by Emery Berger

Please read COPYING for licensing information.

Heap Layers is distributed under the terms of the GNU General Public License.

Commercial licenses are also available.

Please contact Emery Berger (emery@cs.umass.edu) for more details.

Introduction ##

Heap Layers provides a flexible infrastructure for composing high-performance memory allocators out of C++ _layers_. Heap Layers makes it easy to write high-quality custom and general-purpose memory allocators. Heap Layers has been used successfully to build a number of high-performance allocators, including Hoard and DieHard.

Using Heap Layers ##

For an introduction to Heap Layers, read the article Policy-Based Memory Allocation, by Andrei Alexandrescu and Emery Berger. It's a good overview.

Heap Layers contains a number of ready-made heap components that can be plugged together with minimal effort, and the result is often faster than hand-built allocators. The PLDI 2001 paper Composing High-Performance Memory Allocators has plenty of examples.

Performance ##

Heap Layers can substantially outperform its only real competitor, the Vmalloc package from AT&T. The OOPSLA 2002 paper Reconsidering Custom Memory Allocation paper has more details.

Not only is Heap Layers much higher level and simpler to use, but its use of templates also improves performance. Heap Layers both eliminates the function call overhead imposed by Vmalloc layers and yields higher quality code by exposing more optimization opportunities.

GitHub Stars & Activity

414Stars
0Forks
0Open issues
C++Language

GitHub Popularity

GitHub stars414
Forks0
Open issues0
Primary languageC++
License-
Stars gained today0
Created-
Last pushed-

Trending History

Trending statusnot on today's boards

Related AI Projects

1

alibaba / zvec

C++★ 15,976⑂ 0
2

plasma-umass / Mesh

C++★ 1,883⑂ 0
3
4

rapidsai / rmm

C++★ 731⑂ 0
5

llnl / Umpire

C++★ 422⑂ 0
6

thedotmack / claude-mem

TypeScript★ 94,340⑂ 0
7

mem0ai / mem0

Python★ 65,719⑂ 0
8

volcengine / OpenViking

Python★ 38,212⑂ 0

More AI Rankings