Wiki: Deno + Node.js: State of the Union
For agents: Markdown version · Wiki index · Explore
- Speaker: Benjamin Gruenbaum
- Event: Reversim Summit 2020
- Video: https://www.youtube.com/watch?v=GAQls8vM95I
- Transcript: /transcripts/2020/07-GAQls8vM95I.md
- Language: Hebrew · Type: talk · Level: intermediate
- Topics: JavaScript, Open Source, Performance
Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.
Summary
This talk explores the relationship between Node.js and Deno, arguing that technological competition and open-source alternatives drive significant positive evolution across the entire JavaScript ecosystem. The speaker shares insights from working directly on the Node.js core, demonstrating how features inspired by Deno have accelerated improvements in Node.js such as native ES modules, top-level await, and better promise error handling. Ultimately, the audience learns that the existence of alternative runtimes benefits developers by fostering innovation and pushing established platforms to improve.
Key points
- 0:11 The talk does not present a hostile showdown between Node.js and Deno, but rather examines how they mutually influence each other.
- 2:29 While Deno is fun to use and innovative, it is not yet fully ready for all production environments due to a lack of mature enterprise tooling like APM integration.
- 5:32 Open-source alternatives and market competition are fundamentally beneficial for consumers, driving technological evolution much like competition in cellular pricing.
- 9:30 Competition from Deno created external pressure that accelerated the implementation of stable ES modules in Node.js.
- 13:53 New APIs like AbortController and EventTarget were introduced to Node.js with feedback from Deno and browsers, unifying cancellation patterns.
- 20:06 Node.js adopted promise-based APIs across its core modules, correcting earlier architectural mistakes acknowledged by the creators.
- 34:22 The creation of alternative runtimes like Deno and others encourages experimentation and introduces fresh ideas that ultimately benefit the entire web development ecosystem.
Takeaways
- Embrace open-source alternatives and competition as catalysts for learning and technological improvement.
- Contribute to new runtime projects like Deno to gain deep architectural insights and maximize your industry impact.
- Stay informed about modern runtime features like native ES modules, top-level await, and improved promise handling to write better code.
Questions this talk answers
- Is Deno ready for production use compared to Node.js?
- How does the existence of Deno actively influence the development roadmap of Node.js?
- What are the major architectural differences between Node.js and Deno regarding security and standard libraries?
Technologies
Node.js, Deno, JavaScript, TypeScript, Rust, Python, NPM
Tags
competition, deno, javascript, nodejs, open source, runtimes, typescript