since 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.
arktype 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.
in our internal tests, agents have generally been successful in one shotting a migration, so testing it out on a branch is cheap!
would love to hear your thoughts and answer any questions.
thanks, David
I ended up writing my own solution, in some ways more limiting than ArkType, in others better fitting my exact problem.
In our test we found rust > java/c# > php > python > go > javascript
https://arktype.io/docs/type-api#map
it's a really powerful API (could use some additional docs) both in terms of runtime and inference, curious to hear if it solves some of what you were looking for.
Map is supposed to be better than Object and has a cleaner API. Yet it seems to be underused because loading JSON gives Objects.
https://arktype.io/docs/attest
even before tsgo it could scale very far. at this point I would not expect it to be a bottleneck for almost anyone with how well the types scale with caching.
I was already aware of an Ark UI in the ecosystem so I guess people just really like arks ¯\_(ツ)_/¯