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 overhead
I'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.