{"slug": "show-hn-arktype-3-0-set-theoretic-precompiled-ts-validator", "title": "Show HN: ArkType 3.0 – Set-theoretic precompiled TS validator", "summary": "ArkType author released ArkType 3.0, whose headline feature is @ark/aot, a precompilation process that outputs JavaScript the author says is 15x faster to validate, 21x smaller and 63x quicker to start than Zod 4. The author said agents have generally succeeded in one-shotting a migration to the new version, making a branch test cheap.", "body_md": "ibrary author here!\n\nsince our last major release, agentic dev has drastically shifted the trade offs between a purely dynamic library import and an extra build step that can optimize bundle size and startup time.\n\narktype 3.0's headline feature is `@ark/aot`, which allows users to opt into a precompilation process that fully leverages the capabilities of our set-theoretic type system to output JS that is 15x faster to validate, 21x smaller and 63x quicker to start than Zod 4.\n\nin our internal tests, agents have generally been successful in one shotting a migration, so testing it out on a branch is cheap!\n\nwould love to hear your thoughts and answer any questions.\n\nComments URL: [https://news.ycombinator.com/item?id=50749041](https://news.ycombinator.com/item?id=50749041)\n\nPoints: 6\n\n# Comments: 0", "url": "https://wpnews.pro/news/show-hn-arktype-3-0-set-theoretic-precompiled-ts-validator", "canonical_source": "https://arktype.io/docs/blog/3.0", "published_at": "2026-12-03 17:15:40+00:00", "updated_at": "2026-12-03 19:44:08.296557+00:00", "lang": "en", "topics": ["developer-tools", "ai-agents"], "entities": ["ArkType", "@ark/aot", "Zod 4"], "also_reported_by": [], "takeaway": "ArkType 3.0's @ark/aot precompiles set-theoretic type definitions into JavaScript the author measures as 15x faster to validate, 21x smaller and 63x quicker to start than Zod 4.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/show-hn-arktype-3-0-set-theoretic-precompiled-ts-validator", "markdown": "https://wpnews.pro/news/show-hn-arktype-3-0-set-theoretic-precompiled-ts-validator.md", "text": "https://wpnews.pro/news/show-hn-arktype-3-0-set-theoretic-precompiled-ts-validator.txt", "jsonld": "https://wpnews.pro/news/show-hn-arktype-3-0-set-theoretic-precompiled-ts-validator.jsonld"}}