REST sends data across the network. What if it could send callable objects instead? #shorts @JavaScriptConferences
REST sends data across the network. What if it could send callable objects instead? #shorts  @JavaScriptConferences
Uploaded May 2026 | Updated November 2026, 1 day ago
REST APIs return data. Cap'n Web returns stubs β€” references to live objects on the server. That single shift changes everything about how you design APIs πŸ’£

Kenton Varda (Cloudflare Workers, creator of Cap'n Proto) shows why passing functions and objects by reference over the network isn't just a nice DX improvement β€” it's a fundamentally different security model for AI agents.

What's inside:
πŸ”Ή How to eliminate client libraries entirely with TypeScript-native RPC
πŸ”Ή Promise pipelining: 3 round trips collapsed into 1 without await
πŸ”Ή Lifecycle management β€” your server knows exactly when the client is gone
πŸ”Ή Why giving AI agents auth tokens is broken β€” and what capability-based RPC does instead

πŸ”₯ Kenton Varda is the lead engineer of Cloudflare Workers β€” the platform that redefined what serverless can do at the edge. He's also the creator of Cap'n Proto, the high-performance serialization and RPC protocol used across distributed systems at scale β€” and now Cap'n Web, which brings those ideas natively to the browser and JavaScript runtimes.
πŸ‘‰ Connect with Kenton:
πŸ”— https://x.com/KentonVarda
πŸ”— github.com/kentonv

✍️ This talk was part of Node Congress 2026:
No REST for Cap'n Web | Kenton Varda
πŸ”— nodecongress.com/?utm_source=youtube&utm_medium=KentonVarda

πŸ“Œ Click the related video to watch the full talk

πŸ’¬ Don’t just watch β€” get your toughest architecture questions answered in real-time, be part of the room where Seniors and Architects shape the future, get ahead of the curve. Join us live at the next event!
πŸ”— gitnation.com/events?utm_source=youtube&utm_medium=KentonVarda


#CapnWeb #RPC #TypeScript #JavaScript #WebDev #APIDesign #REST #Cloudflare #CloudflareWorkers #WebSocket #PromisePipelining #AIAgents #CapabilityBasedSecurity #NodeJS #BackendDev #SoftwareEngineering #DeveloperTools #CapnProto #Sandboxing #NodeCongress
REST sends data across the network. What if it could send callable objects instead? #shortsRewrite or Refactor? How to Safely Move Legacy Apps to Modern Frameworks - at JSNation 2026 #shortsNode.js on Mobile: Zero-Bridge Shared Logic with Bare RuntimeJSNation in Amsterdam (June 11&15) | Price increase β€” in one week! | JavaScript Conference #shortsso technically.. job done, right?πŸ‘‰πŸ‘ˆ #techconference #techevent #frontend #devlife #devhumorHow was Semble started?  With a family crisis | Mikael Landau #shortsMarius Obert – No Dependencies, No Problem: Streaming AI Over the PhoneReact Core Team Manager’s take on why React really took off πŸš€#reactjs #techpodcast #frontenddevSLMs are Killing Giants: Why GPT-4 is Overkill for Agents #shortsPrompting is for Juniors. The New Senior AI Role | Kent C. Dodds #shortsThe AI-Native Software Engineer | Addy OsmaniJavaScript | what’s worth your attention? #shorts
JavaScript Conferences by GitNation |

REST sends data across the network. What if it could send callable objects instead? #shorts

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER