zig-arraylist

Community

Clarify Zig 0.15+ ArrayList API usage.

Authorcode0100fun
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Zig 0.15+ changes how the allocator is supplied to ArrayList operations; this guide documents the per-call allocator pattern and its rationale.

Core Features & Use Cases

  • Explains the new API where the allocator is passed to each method call rather than at initialization.
  • Provides side-by-side comparisons of old vs new syntax for common operations like append and deinit.
  • Illustrates how to manage memory explicitly in Zig 0.15+ ArrayList usage.

Quick Start

Run a Zig ArrayList example showing allocator being passed to each method call to maintain allocation control.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: zig-arraylist
Download link: https://github.com/code0100fun/botfiles/archive/main.zip#zig-arraylist

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.