← Back to list
Lex Fridman PodcastPodcast12 Feb 2021Source: lexfridman.comHost: Lex Fridman

#160 – Brendan Eich: JavaScript, Firefox, Mozilla, and Brave

In plain words

This is an interview with Brendan Eich, creator of JavaScript. He says the internet succeeds by shipping fast and fixing later, not by being perfect—JavaScript was written in 10 days and became the standard. He criticizes Google for using search and Chrome to dominate ads, taking most revenue from creators. His browser Brave uses privacy ads and BAT tokens to give users 70% of ad revenue, which they can tip to sites. Key mentions: Brave (his current company, sharing ad money via tokens), Google (accused of profiting from tracking ads and resisting change), Netscape (his former employer, beaten by Microsoft bundling IE with Windows).

AI SummaryAI-generated · may contain errors · verify against the original

Brendan Eich (creator of JavaScript, co-founder of Mozilla and Brave) discussed the revolutionary technologies behind JavaScript, Firefox, and the Brave browser on the Lex Fridman podcast. The core argument: good execution is more important than a good idea, but both must align with timing. JavaScri

~10 min full read · 6 sections
Deep Analysis

Here is the English translation of the provided Chinese investment research notes.


This is an analysis of the transcript from Lex Fridman Podcast #160 (Interview with Brendan Eich).

At a Glance

Brendan Eich (creator of JavaScript, co-founder of Mozilla and Brave) discusses with Lex Fridman the origins of JavaScript, the history of the browser wars, and how the Brave browser aims to reshape the internet economy. Eich argues that the internet's success follows the "Worse is Better" principle—first-mover advantage and rapid iteration are more important than perfect design. JavaScript's success is a testament to this principle. Furthermore, the browser, as a "universal application," has the ability to challenge the advertising monopolies of giants like Google through built-in privacy protection and a token-based economy.

Theme 1: The Birth of JavaScript — "Worse is Better" Triumphs in Chaos

Brendan Eich believes that JavaScript's success was not due to the perfection of its language design, but because it seized the right opportunity and followed the internet's "Worse is Better" principle.

  • Origins and Constraints: In 1995, Eich was recruited by Netscape, originally tasked with implementing the Scheme language in the browser. However, the company's strategic shift towards partnering with Sun to promote Java changed his mission. Eich was now tasked with creating a scripting language that "looked like Java," serving as a "sidekick language" for non-professional programmers (e.g., designers, accountants).
  • The Triumph of "Worse is Better": Eich cites Richard Gabriel's famous essay, noting that in the internet era, "first-mover advantage" and "rapid iteration" have a greater survival advantage than "perfect design." JavaScript was hastily completed in 10 days, leaving behind numerous flaws (e.g., the loose `==` operator, memory safety issues from reference counting). Yet, it successfully embedded itself into HTML and became the only native scripting language in the browser.
  • Key Design Decisions: Eich's proudest design is "first-class functions," stemming from the browser's single-threaded, event-driven nature, which required a callback mechanism. Java lacked this feature at the time, which became the key reason JavaScript defeated Java within the browser. His biggest regret was yielding to pressure from early users by adding implicit type coercion to the `==` operator, which broke the equivalence relation.

Theme 2: History of the Browser Wars — Evolution from Netscape to Brave

Eich views the history of browser development as a war driven by "distribution channels" and "innovation." Microsoft won the first war through its operating system monopoly, while Google established a new hegemony through search and the Chrome browser.

  • First War: Netscape vs. Internet Explorer: Eich points out that "Distribution" is more important than technology. Microsoft leveraged the monopoly of its Windows operating system to bundle IE and threatened OEMs (e.g., Compaq) against pre-installing Netscape, ultimately winning the first browser war. After Netscape was acquired by AOL, its open-source project Mozilla became the "escape pod."
  • Second War: Firefox vs. Chrome: Firefox revitalized the browser market through innovations like tabs and pop-up blocking. However, Google launched Chrome in 2008, rapidly rising due to the security and stability of its process isolation and the extreme speed of its V8 engine. Eich revealed that he had suggested Larry Page develop his own browser as early as 2005.
  • Third War: The Privacy War: The core of the current war is privacy. Eich argues that Google's "innovator's dilemma" lies in its business model, which depends on third-party cookies and ad tracking, preventing it from fully embracing privacy like Brave or Apple. Brave aims to be the user's "trust endpoint," fundamentally changing the relationship between users, creators, and advertisers by blocking tracking scripts and ads by default.

Theme 3: Brave's Vision — Reshaping the Internet Economy with a Browser

Brendan Eich believes the browser is a "universal application" capable of building a fairer and more efficient internet economic model through built-in privacy protection and the Basic Attention Token (BAT).

  • Problem Diagnosis: Eich states that the current ad tech ecosystem is "broken." Middlemen (like Google's ad exchange) extract up to 70% of revenue (citing The Guardian experiment) and tolerate ad fraud and malware distribution. Users are tracked, and creators earn meager income.
  • Solution: BAT and Privacy Ads: Brave's solution is the Basic Attention Token (BAT). Its core is "privacy-preserving ads": ad matching is done entirely on the user's local browser via machine learning, so Brave Inc. cannot see user data. Advertisers place ads in the system, users receive 70% of the revenue share (in BAT) for viewing ads, and can choose to tip their favorite creators.
  • Future Outlook: Eich hopes this model can become a cross-browser web standard. He believes users should "own" their social relationships and friend lists, rather than being controlled by Facebook or Twitter. The browser could become a "multi-social network aggregator," allowing users to freely migrate between platforms without losing connections.

Position Moves

Position Guest's Stance Key Data
Netscape Historical review, acknowledging its innovation IPO in 1995; Defeated by Microsoft through OS bundling
Microsoft (IE/Edge) Criticizes its monopolistic behavior, but acknowledges some technology IE4 was "good"; "Stayed away from the web" due to US antitrust case
Google (Chrome) Viewed as primary competitor, criticizes its business model Launched in 2008; V8 engine; Established "new hegemony" through search and Chrome
Apple (Safari) Acknowledges its early efforts in privacy Launched in 2003; Pioneered Intelligent Tracking Prevention (ITP)
Adobe (Flash) Believes it had merits, but was ultimately phased out Steve Jobs banning Flash on iPhone was the "fatal blow"
Mozilla (Firefox) Viewed as a significant achievement, but business model depends on Google Launched in 2004; Peaked in 2011; Main revenue from Google search deal
Brave Core of current work, expresses strong confidence Launched in 2016; Blocks tracking by default; BAT token; Users get 70% of ad revenue
Robinhood Comments on the WallStreetBets incident Seen as a broker "for the masses," but has "counterparty risk"

Judgments Worth Remembering

1. "Worse is Better" is the survival rule of the internet (Brendan Eich): In the internet age, first-mover advantage and rapid iteration are more important than perfect design. JavaScript succeeded not because it was the best language, but because it was deployed first and improved quickly.

2. First-class functions were the key to JavaScript defeating Java (Brendan Eich): The browser is single-threaded and event-driven, requiring a callback mechanism. JavaScript's first-class functions perfectly fit this model, while Java lacked this feature, confining it to a "plugin prison."

3. "Distribution" is more important than technology (Brendan Eich): Microsoft won the first browser war not because IE was technically superior, but because it gained unparalleled distribution by bundling it with the Windows operating system.

4. Google's "innovator's dilemma" lies in its business model (Brendan Eich): Google cannot fully embrace privacy because it relies on third-party cookies and ad tracking for its core revenue. This forces it to "patch" privacy rather than enact fundamental reform.

5. The browser is a "universal application" capable of reshaping the internet economy (Brendan Eich): The browser sees all user data (history, searches, etc.), making it more suitable than any platform for privacy-preserving ad matching. Brave's BAT token system aims to reclaim ad revenue from middlemen and distribute it directly to users and creators.

6. Users should "own" their social relationships (Brendan Eich): Your friend list should not be owned by Facebook or Twitter. The future browser could become a "multi-social network aggregator," allowing you to freely migrate between platforms without losing connections.

7. "Stubborn minorities" can move markets (Brendan Eich): Citing Nassim Taleb's theory, you don't need to change everyone. A small, "stubborn minority" (like early Firefox users) insisting on a better product is enough to shift the entire market landscape.

8. Good execution is more important than a good idea, but both require timing (Lex Fridman): This is the host's core observation. Eich's career proves this repeatedly: at the right time (the internet boom), with rapid execution (writing JavaScript in 10 days), a good idea (a browser scripting language) was brought to the world.