I tried ArkType a couple of years ago and really like the idea but ran into limitations pretty fast compared to the TypeScript compiler. Specifically, I make extensive use of mapped types to enforce through-out the codebase that introducing something new into the codebase immediately raises errors everywhere that new thing needs to be plugged in. Was already powerful for humans, but is even more so with LLMs. Has there been any movement on mapped types?
ArkType is one of my favorite things in Typescript. It's elegent, reasonably terse, and fully utilizes the capabilities of Typescript to do things that is nearly impossible in other languages to do safely.
I tried ArkType a couple of years ago and really like the idea but ran into limitations pretty fast compared to the TypeScript compiler. Specifically, I make extensive use of mapped types to enforce through-out the codebase that introducing something new into the codebase immediately raises errors everywhere that new thing needs to be plugged in. Was already powerful for humans, but is even more so with LLMs. Has there been any movement on mapped types?
ArkType is one of my favorite things in Typescript. It's elegent, reasonably terse, and fully utilizes the capabilities of Typescript to do things that is nearly impossible in other languages to do safely.
thanks so much :-)
I'm particular excited for how well this plays with Bun's new AOT. One of the biggest hurdles for me where runtime codegen for type validation.
totally, @ark/aot should produce much better artifacts for Bun AOT than any dynamic solution.
I've mostly stayed away from ArkType because of the compile times. But I wonder if that still makes sense with the Go rewrite.
Is this related to ArkTS in any way?
it is not and this is actually my first time learning of it!
I was already aware of an Ark UI in the ecosystem so I guess people just really like arks ¯\_(ツ)_/¯