Zod v4.5 adds schema compilation (3-9x faster validation)
birdculture
20 points
6 comments
August 29, 2026
Related Discussions
Found 5 related stories in 45.9ms across 4,895 title embeddings via pgvector HNSW
- Schema Harness Achieves ~99% on Arc‑AGI‑3 Public jasondavies · 94 pts · July 16, 2026 · 49% similar
- Show HN: Lean4 Datalog DSL Based on Google Zanzibar for AI Projects kbradero · 11 pts · July 29, 2026 · 45% similar
- Zig's Incremental Compilation Internals garyhtou · 218 pts · July 28, 2026 · 44% similar
- Introduce a memory safe compilation mode inspired by Fil-C mpweiher · 71 pts · July 20, 2026 · 41% similar
- Zellij 0.45.0: nested sessions, Kitty graphics, a fresh UI peterhajas · 51 pts · August 20, 2026 · 40% similar
Discussion Highlights (1 comments)
_the_inflator
Serious question: how widespread and actually used in production is Zod? Honestly, it made things worse for me. JavaScript isn’t a statistical typed language and TypeScript already is something, where due to compiler issues I just use “any”. Zod has its conventions and JavaScript ain’t Java. So Zod is also hard to read and debug. It is type conversion to type conversion - bloat, not JavaScript. Even Pydantic looks tamed compared to Zod. So how do you use it? Which conventions? Only for validation at certain steps? APIs? I stopped using TanStack because it got to meta for me and AI as well. Tests are needed anyway, I rely on TypeScript only now.