Ryan Dahl, the creator of Deno and a key figure in the JavaScript community, joins to share insights on his vision for Deno 2. He discusses why he chose to build anew instead of forking Node, highlights Deno's innovative features like JSR and SQLite integration, and emphasizes the need for robust security in open source projects. Additionally, Dahl tackles the complex relationship with Oracle over the 'JavaScript' trademark, advocating for its release. The conversation is a deep dive into modern JavaScript development and community collaboration.
Ryan Dahl discusses the evolution of Deno 2, which enhances JavaScript development by integrating NPM compatibility for easier package usage.
The introduction of JSR aims to simplify JavaScript and TypeScript package management, making it easier for developers to share modules.
Dahl's open letter to Oracle addresses the need for community ownership of the JavaScript trademark, advocating for a more inclusive language identity.
Deep dives
Introduction to Ryan Dahl and Deno
Ryan Dahl, the creator of Node.js, discusses his new project, Deno, which aims to improve JavaScript development by addressing the shortcomings he identified in Node. He acknowledges that Deno has been in the works for several years, with the goal of creating a more modern and user-friendly environment for JavaScript developers. Dahl reflects on the surprising success of Node.js and its growing popularity, emphasizing the collaborative efforts of many contributors over the years. He expresses excitement for the upcoming release of Deno 2, which marks a significant milestone in the project's evolution.
Deno's Approach to Compatibility with NPM
Deno 2 introduces improved compatibility with the NPM ecosystem, allowing users to import NPM packages directly. Dahl explains that while Deno was initially designed to avoid using Node's built-in APIs, the reality of the extensive NPM ecosystem necessitated this change. This pragmatic decision enables developers to leverage existing Node projects without significant rewrites, thereby facilitating their transition to Deno. The evolution from a clean slate to a more integrated approach highlights Deno's commitment to meeting the needs of a broader developer audience.
Launching the JSR Package Registry
The podcast highlights the launch of JSR, a new package registry designed as a modern alternative to NPM. JSR aims to simplify the process of sharing JavaScript and TypeScript packages, making it easier for developers to publish and consume modules. Dahl notes that JSR reduces the complexities of package management by allowing developers to upload TypeScript code directly without extensive configurations. This focus on user experience aligns with the broader goal of leveling up the JavaScript ecosystem by encouraging more developers to contribute easily.
Deno KV and Its Experimental Nature
Deno introduces Deno KV, a key-value storage system integrated into its runtime, but notes that it remains an experimental feature. Dahl explains that while Deno KV is designed to facilitate easy data storage for applications, it is built using SQLite and is currently backed by FoundationDB in Deno's hosted services. The experimental status of Deno KV reflects Dahl's approach to iterative development, allowing the team to refine features based on user feedback before firm integration. This balance of innovation with caution ensures that the project remains user-focused while exploring new functionalities.
The Importance of the JavaScript Trademark Debate
The podcast concludes with Dahl discussing his open letter to Oracle, advocating for the liberation of the JavaScript trademark, which is currently held by the company. He articulates concerns about how Oracle's ownership complicates the use and recognition of JavaScript, highlighting the need for a community-driven approach to the language's identity. This initiative seeks not only to raise awareness among developers but also to create a legal challenge to the trademark's status. Dahl's call to action encourages community support, aiming to free JavaScript from corporate constraints and promote its rightful place as the world's most popular programming language.
Jerod is joined by Ryan Dahl to discuss his second take on leveling up JavaScript developers all around the world. Jerod asks Ryan why not try to fix or fork Node instead of starting fresh, how Deno (the open source project) can avoid the all too common rug pull (not cool) scenario, what’s new in Deno 2 & their pragmatic decision to support npm, they talk JSR, they talk Deno KV & SQLite, they even talk about Ryan’s open letter to Oracle in an attempt to free the unused “JavaScript” trademark from the giant’s clutches.
Changelog++ members save 11 minutes on this episode because they made the ads disappear. Join today!
Sponsors:
Assembly AI – Turn voice data into summaries with AssemblyAI’s leading Speech AI models. Built by AI experts, their Speech AI models include accurate speech-to-text for voice data (such as calls, virtual meetings, and podcasts), speaker detection, sentiment analysis, chapter detection, PII redaction, and more.
Speakeasy – Production-ready, enterprise-resilient, best-in-class SDKs crafted in minutes. Speakeasy takes care of the entire SDK workflow to save you significant time, delivering SDKs to your customers in minutes with just a few clicks! Create your first SDK for free!