# gogpu/galloc

> O(1) offset allocator for sub-allocating GPU memory in Go.

Navigation: [Developer Tools](category/developer-tools.txt) · [Index](../llms.txt)

## Facts

- GitHub: https://github.com/gogpu/galloc
- HTML: https://awesomeopensource.dev/project/gogpu-galloc
- Website: https://pkg.go.dev/github.com/gogpu/galloc
- License: MIT
- Language: Go
- stars: 5
- Topics: allocator, game-engine, go, golang, gpu, memory-allocator, offset-allocator, pure-go, tlsf, webgpu
- Activity score: 3.6/5 (Active)
- Last commit (any branch): 2026-11-05
- Last release: v0.2.1 2026-08-11

## Description

An offset allocator that carves a single contiguous GPU heap or buffer into sub-allocations. Allocation and free are O(1) through a two-level bitfield lookup, neighbouring free regions coalesce automatically, and the hot path performs no heap allocations because node storage is preallocated. It includes aligned allocation for Vulkan and DX12 requirements and an optional mutex-protected wrapper for concurrent use.

## Maintenance activity

- Recency: 92% (weight 40%) — last commit: 10 days ago
- Commit volume: 37% (weight 25%)
- Releases: 70% (weight 25%) — last release: 96 days ago
- Bug fixes: 22% (weight 10%)
- Commits: 2 / 90d, 7 / 365d

## Similar projects

- [stablyai/orca](stablyai-orca.md): Run several coding agents in parallel, each in its own Git worktree · Activity score 5.0/5 (Thriving)
- [tauri-apps/tauri](tauri-apps-tauri.md): Build small desktop and mobile apps with a web frontend and a Rust core · Activity score 5.0/5 (Thriving)
- [microsoft/terminal](microsoft-terminal.md): Tabs, panes and GPU rendering for PowerShell, cmd, WSL and SSH on Windows · Activity score 5.0/5 (Thriving)
- [ant-design/ant-design](ant-design-ant-design.md): A UI Design Language. · Activity score 5.0/5 (Thriving)
- [microsoft/playwright](microsoft-playwright.md): End-to-end testing and browser automation across Chromium, Firefox and WebKit · Activity score 5.0/5 (Thriving)
- [nvm-sh/nvm](nvm-sh-nvm.md): POSIX shell script for installing and switching between Node.js versions · Activity score 5.0/5 (Thriving)
