
JavaScript Jabber Unpacking Deno 2: Code Stability, Free Speech, and more - JSJ 648
4 snips
Sep 10, 2024 Ryan Dahl, the mastermind behind Node.js and Deno, shares his journey of creating Deno 2, discussing its unique Rust implementation and TypeScript-first approach. The conversation dives into Deno's security model, emphasizing its sandboxing features and how it mitigates supply chain risks. Dahl also introduces JSR, a new open-source registry aimed at enhancing package quality and discoverability. Listeners will appreciate insights on Deno's role in edge computing and the future of JavaScript in data science.
AI Snips
Chapters
Transcript
Episode notes
Why JavaScript Fits The Server
- JavaScript's ubiquity and the V8 VM made attaching it to servers a natural evolution.
- Event-driven callbacks map well from browser UI to server request handling, enabling scalable servers.
From Nginx Modules To Node Idea
- Ryan recounts working on Nginx modules and realizing event-driven servers were optimal but hard to build.
- He saw JavaScript as a clean slate to build a non-blocking, event-first runtime without legacy blocking APIs.
Deno's Design Priorities
- Deno began as a Rust runtime designed to simplify JavaScript tooling and embrace standards.
- The goal was a TypeScript-first, ESM-first runtime that bundles tooling (formatter, linter, LSP) with the runtime.

