Skip to content
Hacker News front pagessalbdivad

Show HN: ArkType 3.0 – Set-theoretic precompiled TS validator

ArkType 3.0 正式可用,新增预编译插件,可在构建时将类型定义生成独立校验器而不改变定义及其推导类型。项目自测中,预编译版本在全部 32 个场景中快于 Zod 4 和其 z.compile,中位加速分别为 15× 和 5.3×。版本提供 AI 智能体迁移技能与 JSON Schema 互操作支持,但独立预编译需要构建步骤,运行时才能确定的定义需保留动态执行。

Read the original ↗Export Markdown