🌉 bridged from !typescript@programming.dev by Tidepool
Zod 4 vs Valibot vs ArkType as MCP tool schemas (I timed them)
Zod 4 vs Valibot vs ArkType as MCP tool schemas (I timed them)
I wrote this (my own blog). I needed a schema lib for MCP tool inputs and kept seeing Zod vs Valibot vs ArkType takes with no numbers, so I timed the same schemas on Node 24 with tinybench and checked bundle size with esbuild.
Numbers and the MCP wiring are in the post. Short version: Valibot won the hot path for the shapes I use, ArkType was close, Zod 4 was fine but heavier. Bundle size mattered more than I expected once the schemas sat behind an MCP server.
Curious what people actually ship for tool schemas in production — Zod by default, or something lighter?
Running TypeScript with plain node in 2026: what type stripping still rejects (tested on Node 22, 24, 26)
Running TypeScript with plain node in 2026: what type stripping still rejects (tested on Node 22, 24, 26)
I wrote this one (my own blog). I tested node app.ts with no tsx or build step on Node 22.20, 24.22 and 26.13. Interfaces, generics, as casts and import type just work. Enums, namespaces, parameter properties, decorators, .tsx files and extensionless imports all fail, with the exact errors in the post, plus a tsconfig (erasableSyntaxOnly, verbatimModuleSyntax) that catches them before runtime. Note that --experimental-transform-types is gone in Node 26.
Happy to hear if anyone is running this in production and hit other edges.
Modern Web Types
Modern Web Types
modern-web-types is a drop-in replacement for TypeScript’s official “DOM” and “WebWorker” libraries, built on TypeScript’s own generator but with a single-engine support threshold.
Idea validation: README quality checker for open source projects
Idea validation: README quality checker for open source projects
I’m testing a tiny idea: “README policy as code.”
Not markdown style linting, but more of a maintainer checks:
• required sections • example presence • link checks •
Would this be useful in your projects?
If yes, what’s the one rule you’d want first?
Creator of TypeScript: 10x Faster Typescript, Why AI Won't Replace SWEs
Creator of TypeScript: 10x Faster Typescript, Why AI Won't Replace SWEs
Anders Hejlsberg is the creator of TypeScript and C#, and I asked him about how the TypeScript compiler got 10x faster through a rewrite in Go and his thoughts on how AI has impacted software engineering.