Lulzx/zpdf
View on GitHub ↗ ★ 925 Zig
Zero-copy PDF text extraction library written in Zig. High-performance, memory-mapped parsing with SIMD acceleration.
5 mentions on Hacker News by 4 people: 1 story, 4 comments · first 2025-12-30 · latest 2025-12-31
20082026
-
These vibe coded tests are terrible: https://github.com/Lulzx/zpdf/blob/main/python/tests/test_zp...
comment by fainpul · 2025-12-31 · in Zpdf: PDF text extraction in Zig -
Were you working on it already, or did it take you less than 17 minutes to commit https://github.com/Lulzx/zpdf/commit/9f5a7b70eb4b53672c0e4d8... ?
comment by hiq · 2025-12-30 · in Zpdf: PDF text extraction in Zig -
added a comparison, will improve further. https://github.com/Lulzx/zpdf?tab=readme-ov-file#comparison-... also, added python bindings.
comment by lulzx · 2025-12-30 · in Zpdf: PDF text extraction in Zig -
What kind of performance are you seeing with/without SIMD enabled? From https://github.com/Lulzx/zpdf/blob/main/src/main.zig it looks like the help text cites an unimplemented "-j" option to enable multiple threads. There is a "--parallel"…
comment by tveita · 2025-12-30 · in Zpdf: PDF text extraction in Zig