Brendan Eich: JavaScript, Firefox, Mozilla, and Brave | Lex Fridman Podcast #160

TL;DR

  • Brendan Eich created JavaScript in 10 days in 1995, which became the world's most popular programming language despite initial skepticism from the development community.
  • JavaScript evolved from a quick scripting solution into a full-featured language through standardization efforts and community-driven improvements over decades.
  • The browser wars between Internet Explorer, Firefox, and other browsers drove innovation in web technology and JavaScript performance optimization.
  • Firefox emerged from Mozilla as a response to Internet Explorer's dominance, becoming a platform for open-source development and web standards advocacy.
  • Brave browser was founded to address privacy concerns and ad fraud on the web through a new business model involving the Basic Attention Token cryptocurrency.
  • Legacy in technology is built through solving immediate practical problems while remaining open to how tools evolve beyond their original vision.

Episode Recap

In this episode, Brendan Eich discusses his remarkable career in web development and his pivotal role in shaping the internet. The conversation begins with the history of programming languages and quickly moves to the origin story of JavaScript. Eich explains how he created JavaScript in just 10 days in 1995 while working at Netscape, initially as a quick scripting language to complement Java in web browsers. What started as a pragmatic solution for browser-based interactivity became the foundation of modern web development.

The discussion covers the evolution of JavaScript from its humble beginnings through standardization efforts. Eich emphasizes the importance of the ECMAScript standardization process in legitimizing the language and enabling its growth. He addresses common criticisms about JavaScript's design quirks while defending the practical constraints and timelines that shaped its initial creation.

A significant portion of the conversation focuses on the browser wars of the 1990s and 2000s, particularly the rise of Firefox as a response to Internet Explorer's monopolistic dominance. Eich describes how Mozilla was created as an open-source initiative to foster competition and innovation in web browsers. This era of competition, while sometimes heated, ultimately drove technological advancement and led to better web standards.

The episode then shifts to Eich's current work with Brave, a privacy-focused web browser designed to address fundamental problems with how the internet's attention economy functions. Eich explains the Basic Attention Token, an attempt to create a fairer system where users are compensated for their attention rather than having their data exploited by advertisers. This represents his latest effort to solve what he sees as broken incentives in digital advertising.

Throughout the conversation, Eich reflects on legacy and impact. He discusses how technologies often evolve in ways their creators never anticipated, and how important it is to remain humble about one's contributions while recognizing the collaborative nature of technological progress. The discussion touches on mortality and what it means to leave a lasting impact on the world.

Eich also provides advice for programmers, emphasizing the importance of practical problem-solving, understanding trade-offs, and being willing to learn from criticism. He discusses the performance improvements JavaScript has undergone, from being a slow interpreted language to becoming highly optimized through just-in-time compilation. The conversation demonstrates how persistence, pragmatism, and openness to evolution have been key factors in both JavaScript's success and Eich's continued relevance in technology.

Key Moments

Notable Quotes

JavaScript was created in 10 days, and it shows in some ways, but it also shows the power of pragmatic problem-solving.

I didn't invent JavaScript to be the most popular language in the world. I invented it to solve a specific problem at Netscape.

The browser wars were destructive in some ways, but they drove innovation that benefited everyone.

Legacy is not about what you intended to create, but about how your work evolves and impacts the world.

Brave is about fixing the broken incentives in digital advertising and restoring user privacy.

Products Mentioned