Syntax - Tasty Web Development Treats

959: TypeScript on the GPU with TypeGPU creator Iwo Plaza

23 snips
Dec 1, 2025
Join Iwo Plaza, the creator of TypeGPU, as he discusses how WebGPU is revolutionizing web graphics. He delves into the challenges of shader languages and how TypeGPU simplifies shader authoring with a TypeScript wrapper. Iwo shares insights on low-level WebGPU frustrations, making GPU-CPU data exchange seamless with Zod-like schemas, and the exciting future of GPU-powered AI in browsers. Plus, hear about the community's reception of projects like Jelly Shader and TypeGPU's potential integration with Three.js!
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

WebGPU Unlocks Native-Like GPU Power

  • WebGPU brings low-level GPU access to the browser, enabling powerful graphics and compute tasks previously limited to native apps.
  • TypeGPU wraps WebGPU to give TypeScript developers a familiar, higher-level developer experience for shader work.
ANECDOTE

From C++ OpenGL To JavaScript For Shareability

  • Iwo started programming with C++ and OpenGL and moved to JavaScript because school machines lacked C++ compilers.
  • He values the web for easy sharing across platforms without needing native builds or expensive hardware.
INSIGHT

Schema-Driven CPU↔GPU Data Safety

  • WebGPU is powerful but very low-level, requiring careful memory layout and serialization between CPU and GPU.
  • TypeGPU solves this by using Zod-like schemas to serialize/deserialize data and keep a single source of truth across CPU and shader code.
Get the Snipd Podcast app to discover more snips from this episode
Get the app