ArkType is TypeScript's 1:1 Validator | David Blass | Ep 35B

ArkType is TypeScript's 1:1 Validator | David Blass | Ep 35B

David Blass (@ssalbdivad.dev) teaches the two fools about ArkType and its 1:1 validator type system. If you, like us, thought ArkType was only about validation, think again! David pulls back the curtain on what makes ArkType unique, how he built a type-level parser to provide helpful error messages, and why ArkType can provide soundness guarantees that go beyond even what vanilla TypeScript can offer. *waves hand* These are the array intersections you're looking for.

Chapters

  • (00:00) - Introducing David Blass
  • (02:39) - ArkType vs. Zod
  • (04:28) - ArkType's Differences
  • (06:21) - Defining ArkType Types
  • (10:33) - Matching TypeScript's Syntax
  • (14:24) - Detailed Editor-time Errors
  • (17:14) - Type-level Testing with attest
  • (18:26) - Runtime Error Checking
  • (21:05) - Generating JIT-optimized Code
  • (27:27) - Benchmarking ArkType's Performance
  • (29:41) - Optimizing the Parser for ArkType Types
  • (32:13) - Tips for Optimizing TypeScript Types
  • (38:12) - Type Mapping API
  • (40:20) - Set-based APIs
  • (43:15) - Typing Array and Tuple Intersections
  • (45:57) - ArkType's Internal Type System
  • (49:01) - Serializing Types to JSON
  • (50:09) - Porting Enhancements to TypeScript
  • (51:55) - Compatibility with Standard Schema Spec
  • (57:15) - Introspecting ArkType Types
  • (01:00:10) - Use Cases for ArkType
  • (01:03:34) - What's Next for ArkType?
  • (01:05:59) - Getting Started with ArkType
  • (01:07:56) - Where to Follow David


Resources

Where to Follow David

Sponsored by Excalibur.js
Excalibur.js is the friendly TypeScript game engine for making 2D web games. Use your TypeScript or JavaScript skills to make games! Excalibur comes out-of-the-box with everything you need to make web games, like physics, sprites, animations, sound effects, input, and particles. Design your assets with tools like Aseprite and Tiled, then load them natively using first-party plugins.

Music
Seahorse Dreams by Kubbi (Spotify)

Tämä jakso on lisätty Podme-palveluun avoimen RSS-syötteen kautta eikä se ole Podmen omaa tuotantoa. Siksi jakso saattaa sisältää mainontaa.

Jaksot(93)

Benchmarking in Node, Modern DOM Typings, and Jev the Type-safe AI | News | Ep 82

Benchmarking in Node, Modern DOM Typings, and Jev the Type-safe AI | News | Ep 82

News for the week of Sep 14, 2026: latest Node 26 includes experimental benchmark tests, a modern drop-in replacement for DOM typings, and we try to understand Jev, bruv. From the community: how GitHu...

25 Syys 1h 7min

React 19.3, Safari 27 & Chrome 153 Loot Drops, and Cloudflare's New Worker Module Registry | News | Ep 81

React 19.3, Safari 27 & Chrome 153 Loot Drops, and Cloudflare's New Worker Module Registry | News | Ep 81

News for the week of Sep 7, 2026: new browser loot drops in Chrome 153 and Safari 27, React 19.3 lets you control view transitions, and how Cloudflare rewrote the workers module registry for better No...

17 Syys 56min

Vitest 5, rslib 1.0, and the No Sloptober Challenge | News | Ep 80

Vitest 5, rslib 1.0, and the No Sloptober Challenge | News | Ep 80

News for the week of Aug 31, 2026: Vitest 5's new doctor command and perf enhancements, Rslib is now stable, and Astro 7.3 lets you run multiple preview servers at once. From the community: build circ...

15 Syys 52min

pnpm 12, htmx 4, and Release Candidates for Remix 3 and Waku 1 | News | Ep 79

pnpm 12, htmx 4, and Release Candidates for Remix 3 and Waku 1 | News | Ep 79

News for the week of August 24, 2026: pnpm 12 brings a bunch of quality of life updates, htmx 4 makes attribute inheritance easier, and both Remix and Waku get release candidates. From the community: ...

3 Syys 1h 6min

Bun 1.4, SolidStart v2, and SvelteKit v3 RC | News | Ep 78

Bun 1.4, SolidStart v2, and SvelteKit v3 RC | News | Ep 78

News for the weeks of Aug 10 and 17, 2026: major version releases from Bun, ElectroBun, SolidStart, and SvelteKit along with Aspire 13.5, which makes TypeScript app hosts generally available. From the...

28 Elo 1h 9min

Astro 7.2, Stacked Pull Requests, and Eradicating any Using oxlint | News | Ep 77

Astro 7.2, Stacked Pull Requests, and Eradicating any Using oxlint | News | Ep 77

News for the week of August 3, 2026: Astro 7.2 adds incremental static builds, SvelteKit 3 preview, and a closer look at TypeScript 7.1 compiler APIs. From the community: build your own "isThingy" typ...

13 Elo 1h 3min

TS 7 Compiler API Plans, Elysia 2 Beta, and JSX in ASP.NET Core | News | Ep 76

TS 7 Compiler API Plans, Elysia 2 Beta, and JSX in ASP.NET Core | News | Ep 76

News for the week of July 27, 2026: insights into what's coming in TS 7.1, rendering JSX and TSX natively using ASP.NET Core, and Elysia gets rewritten with the new v2 beta. From the community: semant...

7 Elo 1h 2min

Type-aware Linting Stable in oxlint, Qwik v2 Beta, and Octane Turns Up the Heat on React | News | Ep 75

Type-aware Linting Stable in oxlint, Qwik v2 Beta, and Octane Turns Up the Heat on React | News | Ep 75

News for the week of July 20, 2026: Oxlint type-aware linting is now stable, Qwik v2 is now in beta, and the successor to Inferno is lighting up React. From the community: must-watch talks from Softwa...

30 Heinä 53min

Suosittua kategoriassa Politiikka ja uutiset

uutiscast
vallattomat
aikalisa
politiikan-puskaradio
rss-viihde-media
ootsa-kuullut-tasta-2
rss-ootsa-kuullut-tasta
rss-vaalirankkurit-podcast
otetaan-yhdet
rss-voi-venaja
tervo-halme
rss-podme-livebox
rss-asiastudio
et-sa-noin-voi-sanoo-esittaa
the-ulkopolitist
rss-ulkopoditiikkaa
aihe
linda-maria
rss-toisten-taskuilla
rikosmyytit