Skip to content
Lex Fridman PodcastLex Fridman Podcast

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

Brendan Eich is the creator of JavaScript and co-founder of Mozilla and Brave. Please support this podcast by checking out our sponsors: - The Jordan Harbinger Show: https://jordanharbinger.com/lex/ - Sun Basket: https://sunbasket.com/lex and use code LEX to get $35 off - BetterHelp: https://betterhelp.com/lex to get 10% off - Eight Sleep: https://www.eightsleep.com/lex and use code LEX to get special savings EPISODE LINKS: Brendan's Twitter: https://twitter.com/BrendanEich Brendan's Website: https://brendaneich.com Brave browser: https://brave.com PODCAST INFO: Podcast website: https://lexfridman.com/podcast Apple Podcasts: https://apple.co/2lwqZIr Spotify: https://spoti.fi/2nEwCF8 RSS: https://lexfridman.com/feed/podcast/ Full episodes playlist: https://www.youtube.com/playlist?list=PLrAXtmErZgOdP_8GztsuKi9nrraNbKKp4 Clips playlist: https://www.youtube.com/playlist?list=PLrAXtmErZgOeciFP3CBCIEElOJeitOr41 OUTLINE: 0:00 - Introduction 1:53 - History of early programming languages 6:46 - Physics needs more experiments and less theory 11:23 - JavaScript origin story 36:16 - JavaScript was created in 10 days 45:56 - Marc Andreessen 49:13 - Internet Explorer 52:57 - Evolution of JavaScript 58:43 - Javascript standardization 1:04:33 - TypeScript 1:07:04 - JavaScript ecosystem 1:10:14 - HTML5 1:13:46 - Making JavaScript fast 1:22:56 - JavaScript is the most popular language in the world 1:33:22 - Advice for programmers 1:39:19 - Browser wars 1:45:49 - Firefox 2:07:32 - Brave 2:20:32 - Basic Attention Token 2:45:35 - California 2:54:47 - Mortality 2:55:53 - Legacy SOCIAL: - Twitter: https://twitter.com/lexfridman - LinkedIn: https://www.linkedin.com/in/lexfridman - Facebook: https://www.facebook.com/LexFridmanPage - Instagram: https://www.instagram.com/lexfridman - Medium: https://medium.com/@lexfridman - Reddit: https://reddit.com/r/lexfridman - Support on Patreon: https://www.patreon.com/lexfridman

Lex FridmanhostBrendan Eichguest
Feb 12, 20212h 59mWatch on YouTube ↗

At a glance

WHAT IT’S REALLY ABOUT

From JavaScript’s Birth To Brave: Rethinking Browsers, Ads, Privacy

  1. Lex Fridman and Brendan Eich trace Eich’s journey from early programming influences through creating JavaScript at Netscape under extreme time pressure, and how “worse is better” plus timing let it conquer the web.
  2. They walk through the browser wars (Netscape vs. Internet Explorer, then Firefox vs. Chrome), the messy evolution of web standards, and how JavaScript performance and tooling (TypeScript, WebAssembly) transformed it into a serious, ubiquitous language.
  3. Eich explains how advertising, tracking, and cookies evolved into today’s surveillance-based ad-tech ecosystem, and why he believes this model is fundamentally broken for users and publishers.
  4. The conversation culminates in Brave’s vision: a privacy-first browser that blocks tracking by default and uses the Basic Attention Token (BAT) and on-device machine learning to realign incentives among users, publishers, and advertisers.

IDEAS WORTH REMEMBERING

5 ideas

Speed to market can outweigh theoretical perfection in networked systems.

Eich argues that in ecosystems like the web, being first and good enough (“worse is better”) can beat more elegant but slower designs. JavaScript’s rushed 10‑day implementation and early browser integration gave it an unshakeable foothold despite flaws.

JavaScript’s real power came from first-class functions and the browser’s single-threaded, event-driven model.

Designing JavaScript with Scheme-like first-class functions made callbacks natural in a single-threaded UI environment and ultimately enabled rich client-side apps, from early DHTML to modern SPAs, outcompeting Java applets and plug-ins.

Standards follow de facto behavior and market power, not pure design.

The ECMAScript process often had to ratify what dominant engines already did, even when behavior was ugly. JavaScript’s evolution (ES3 → ES5 → ES6) reflects a compromise between theoretical cleanliness and compatibility with billions of existing pages.

Ad-tech’s third-party tracking was an accidental byproduct of early web design.

Cookies and embedded images/scripts were created to maintain login state and add content, but quickly became a mechanism for cross-site tracking and profiling. This drove highly centralized, opaque ad exchanges rife with fraud, malware, and misaligned incentives.

On-device intelligence can replace server-side surveillance in advertising.

Brave’s model downloads a daily catalog of ads and uses local machine learning on browsing data to pick relevant ads, so neither Brave nor advertisers see raw user data. This challenges the assumption that targeted ads require massive server-side tracking.

WORDS WORTH SAVING

5 quotes

The essence of design is leaving things out.

Brendan Eich (quoting Niklaus Wirth, applying it to his regrets about JavaScript’s looser features)

Worse is better is enshrined in the web. You can’t break what still works.

Brendan Eich

If I’d said no to JavaScript, you would’ve gotten VBScript, and it would have been bad.

Brendan Eich

The browser is the mother of all data feeds.

Brendan Eich

I’m Dr. Frankenstein — I’ve got to deal with the monster here.

Brendan Eich (on JavaScript being used for invasive tracking and ad-tech)

Brendan Eich’s early background in physics, programming, and language design influences (Pascal, C, Scheme, Smalltalk, Self).Creation of JavaScript at Netscape: constraints, 10‑day implementation, design decisions, and the “worse is better” principle.History of browser wars: Netscape vs. Internet Explorer, the rise of Mozilla/Firefox, and Chrome’s emergence with V8 and process isolation.Evolution of JavaScript: standardization via ECMAScript, ES5/ES6, TypeScript, asm.js, and WebAssembly.Origins and problems of cookies, third‑party tracking, ad-tech intermediaries, fraud, and malvertising.Brave’s architecture and philosophy: built‑in tracking protection, private on-device ad matching, and the Basic Attention Token economy.Broader reflections: monopoly/antitrust, decentralization, privacy, social networks, and the future of Silicon Valley and the web.

High quality AI-generated summary created from speaker-labeled transcript.

Get more out of YouTube videos.

High quality summaries for YouTube videos. Accurate transcripts to search & find moments. Powered by ChatGPT & Claude AI.

Add to Chrome