Skip to content
Trending storyDeveloping

ArkType 3.0 ships with precompiled validators

1 report1 sourceupdated 7 hours ago

What happened

AI digest

ArkType 3.0 is now available, Hacker News reported on December 4. The release adds a precompile plugin that generates standalone validators at build time from existing type definitions, without changing those definitions or their inferred types. The project's own benchmarks put the precompiled version ahead of Zod 4 and its z.compile in all 32 test scenarios, with median speedups of 15x and 5.3x. The release also adds an AI agent migration skill and JSON Schema interop. Precompiling requires a build step, and definitions only known at runtime still run dynamically.

Written by AI from the coverage · updated 4 hours ago

Coverage

Follow the reports to see the story from different sides.

Dec 4
  1. Hacker News front page
    Show HN: ArkType 3.0 – Set-theoretic precompiled TS validator

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

Heat over time

Heat now 8·Comparable peak 9(Dec 4 04:00)·Comparable change over 24 hours –

02.557.510Dec 404:00Dec 405:00Dec 407:00Dec 408:00

The trend only compares accounts observed without gaps, so its range may be smaller than the current heat. Hover or tap the chart for each hour; the left and right arrow keys step through it.