Back to browse
GitHub Repository

Zero Allocation, SIMD-accelerated CSV iterator and emitter in Zig

13 starsZig

SIMD-accelerated, zero allocation CSV library in Zig

by peymo·Feb 16, 2026·3 points·0 comments

AI Analysis

●●SolidWizardryNiche Gem

Field iterator + zero alloc forces explicit ownership; SIMD scanning is clever but niche.

Strengths
  • Deliberate API minimalism (no record abstraction) prevents hidden allocation costs and forces transparent design
  • SIMD acceleration via configurable scanning spans multiple CPU instruction sets
  • Strict RFC 4180 validation simplifies fast paths and avoids ambiguous parsing states
Weaknesses
  • Audience narrow: requires Zig adoption and systems-level performance sensitivity
  • Field-level API demands more user code than competing libraries (csv-rs, pandas)
Target Audience

Systems engineers, performance-critical tooling developers, Zig users

Similar To

csv-rs · polars · datafusion

Post Description

Wrote a blog post for the implementation as well: https://peymanmo.com/posts/1-csv-zero

I learned a ton in the process and I got really decent benchmark results out of this!

Similar Projects

Zero-allocation and SIMD-accelerated CSV iterator in Zig

I needed a CSV library in Zig and I hand rolled one. Then I decided to come back to it and make it avoid allocations entirely and then went down a rabbit hole o

peymo
203mo ago
Developer Tools●●Solid

xxUTF – SIMD Unicode Normalization

Fastest open-source SIMD Unicode normalization with SQLite-style single-header distribution.

WizardryNiche Gem
dzfrias
13112d ago
Developer Tools●●Solid

An Embeddable SQLite Parser

424k statements/sec with zero dependencies — sqlparse can't match this performance.

WizardryNiche Gem
marcobambini
103mo ago