Jack Harrhy
Linkblog /2025/04/18

ArkType Zod Alternative, Zig and GPUs.

ArkType: TypeScript’s 1:1 validator, optimized from editor to runtime

An interesting alternative to Zod I’ve seen mentioned around the interwebs.

const User = type({
	name: "string",
	platform: "'android' | 'ios'",
	"version?": "number | string"
})

Also this is a pretty big claim:

100x faster than Zod and 2,000x faster than Yup at runtime, with editor performance that will remind you how autocomplete is supposed to feel

Gotta go fast.

Ali Cheraghi - Zig and GPUs

GPU programming used to mean wrangling C++ compilers, bloated SDKs, and vendor-specific toolchains. That’s changing. You can now write GPU code in modern languages like Rust and Zig with fewer layers. This post walks through the current state of Zig’s GPU backends and how they stack up across Vulkan, OpenCL, and native ISAs.

Zig to SPIR-V is mentioned in this post, very neat.

I hope we live in the timeline that a language in this space, be is Zig, Odin, Jai, Rust, whatever surpasses C++ as the king of this sort of thing.

For now though, all hail C with Classes.