Dhi
520x faster data validation for Python, 77x faster for TypeScript
Details
- External ID
- 46767871
- Source
- HN
- Company
- —
- Product
- Dhi
- Website domain
- github.com
- Launched
- Jan. 26, 2026
- Cohort
- —
- Upvotes
- 5
- Upvotes percentile
- 0.09617918313570488
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:25 p.m.
- Updated at
- Sept. 7, 2026, 9:25 p.m.
Description
Hi HN! I built dhi, a data validation library that uses Zig to compile to both native C (Python) and SIMD WASM (TypeScript).Key points: - Drop-in API compatibility with Pydantic (Python) and Zod (TypeScript) - Python: 24.9M validations/sec (520x faster than Pydantic V2) - TypeScript: up to 77x faster than Zod on invalid data - 28KB WASM bundle, zero JS runtime overheadI'd love feedback on the API surface, benchmarks, and real-world integration pain points. If you're curious, the repo has full benchmarks and examples.
Enrichment
- Theme
- generative AI model API gateways
- Vertical
- Horizontal
- Function
- Dev tools
- Audience
- Developer
- AI stance
- Not AI
- Project type
- Commercial product
- Normalized one-liner
- fast data validation for python and typescript
- Manually corrected
- False
Could you build this?
No Developing an ultra-high-performance data validation library in Zig utilizing manual SIMD vectorization and custom bindings for Python (C-API) and TypeScript (WASM) requires advanced systems programming and performance engineering.
What it would actually take: The project requires writing low-level parsing and validation routines in Zig, taking explicit advantage of SIMD vector intrinsics (AVX2/NEON) to process byte streams and JSON data in parallel. It must implement custom C-Python extension bindings without intermediate overhead and compile to compact WebAssembly with SIMD support for V8/JavaScript runtimes. Achieving 500x speedups over Pydantic v2 requires deep knowledge of compiler optimizations, CPU cache hierarchies, memory alignment, and language runtime ABIs.
Discussion
No comments on this launch.
Competitors
Other products that read as similar to this one — 65 launches clear the similarity bar, closest 8 shown.
Attention rank: #66 of 66 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 78 days after the earliest competitor.
- Valid8r, Functional validation for Python CLIs using Maybe monads · hn · 2025-11-09 · 6 upvotes · similarity 0.45
- I built a 30x faster svelte-check in 2 days with AI · hn · 2026-01-03 · 6 upvotes · similarity 0.45
- Oxyde · hn · 2026-03-13 · 155 upvotes · similarity 0.44
- Sandboxing untrusted code using WebAssembly · hn · 2026-02-03 · 76 upvotes · similarity 0.39
- Rust HTTP library modeled after Go but 2-3x faster · hn · 2026-04-04 · 5 upvotes · similarity 0.39
- Coi · hn · 2026-01-20 · 225 upvotes · similarity 0.37
- Fast NF4 dequantization Triton kernel (1.41x faster than bitsandbytes) · hn · 2026-07-15 · 5 upvotes · similarity 0.37
- BlazeDiff v2 · hn · 2025-12-19 · 7 upvotes · similarity 0.37
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a dev tools tool for Sales yet.