cd /news/developer-tools/i-explored-and-created-persistent-da… · home topics developer-tools article
[ARTICLE · art-78998] src=ziggit.dev ↗ pub= topic=developer-tools verified=true sentiment=· neutral

I explored and created persistent data structures and functional tools to operate over them

Developer bneb released Zimple, a library of persistent data structures for Zig, including Vector, HAMT, and HashSet, using arenas for memory management and lazy iterators with anytype callables. The project, supporting Zig version 0.16, includes benchmarks comparing memory density and allocation speed against standard Zig and OCaml.

read1 min views1 publishedJul 29, 2026
I explored and created persistent data structures and functional tools to operate over them
Image: Ziggit (auto-discovered)

bneb 1 PROJECT NAME: Zimple

persistent data structures for Zig

I’ve been exploring/making persistent data structures for Zig (Vector, HAMT, HashSet).

The project uses arenas to avoid manual lifetime tracking. The whole tree is allocated into an arena and dropped when done.

There are also lazy iterators (map, filter, fold) using anytype callables to avoid virtual dispatch overhead.

Benchmarking and a writeup vs standard Zig and OCaml are included for comparing the memory density and allocation speed to measure the trade-offs.

Here is the repo: GitHub - bneb/zimple: Functional programming in Zig. No runtime. No GC. Just comptime and arenas. · GitHub Supported Zig versions

what versions are supported? 0.16

1 Like

bneb 3 I wrote it using an AI-augmented workflow.

I’m not sure if you are trying to say that this is slop, or genuinely curious about the setup. I’ll assume you are engaging in good faith, and so I’ll respond earnestly.

My setup uses a custom harness that controls cost by leveraging on device Gemma 4 when it can, Deepseek and Gemini flash and pro models depending on retry logic, task complexity, etc…

I break up the work into a design phase, where I tend to steer a lot more. Once I have a fairly tight design, I spin up coding agents to edit one file or function at a time, with success/exit criteria of good test coverage. Then I’ll go and fix or de-slop the code if necessary.

── more in #developer-tools 4 stories · sorted by recency
── more on @bneb 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/i-explored-and-creat…] indexed:0 read:1min 2026-07-29 ·