X
Business

JavaScript creator Eich: My take on 20 years of the world's top programming language

JavaScript creator Brendan Eich charts the programming language's life from Mosaic to Internet Explorer and Chrome.
Written by Liam Tung, Contributing Writer

A newly published paper by Brendan Eich, CEO of Chromium-based browser Brave and the key designer of JavaScript, looks back at two decades of the definitive programming language for the web, browsers and, increasingly, native mobile and desktop apps. 

Anyone developing for the web must know JavaScript, one of the top three programming languages, along with Java and Python, whose popularity has surged due to the rise of machine learning. 

Eich, a co-founder of Firefox-maker Mozilla, and his co-author, Allen Wirfs-Brock – a key author of the ECMAScript specification for JavaScript – detail the long and winding history of JavaScript and the web since 1995 under the influence of Microsoft, Mozilla, Netscape, and Oracle. 

SEE: Virtual hiring tips for job seekers and recruiters (free PDF) (TechRepublic)

The paper was completed in March and published in this month's edition of the Association of Computing Machinery (ACM) Journal, which provides a retrospective on key programming languages, including JavaScript, C++, F#, Fortran, Objective-C, and Clojure. 

Besides the evolution of JavaScript, the paper offers a who's who of the early web and what led to today's Chromium-dominated web, which now includes Microsoft's Chromium-based Edge or 'Chredge' browser

The paper is from Eich's perspective after joining Netscape in 1995, shortly after Microsoft offered to buy the company. He then created a Unix version of Mocha, the precursor to JavaScript. 

The tale also features his take on input from the web's 'father' Tim Berners-Lee, Netscape co-founder, Marc Andreessen, who co-authored the first browser, Mosaic, Sun co-founder Bill Joy, and Microsoft co-founder, Bill Gates.   

One fun fact is that the JavaScript trademark name, which was originally registered by Sun Microsystems, today remains under Oracle's control, which acquired Sun in 2009, giving it Java

Potential trademark issues also explain why JavaScript standard ECMAScript – which Microsoft's widely-used TypeScript supports – doesn't include the term 'JavaScript'.  

"The trademark was originally registered by Sun Microsystems, and as of the date of this paper the registration is owned by Oracle Corporation. The trademark was licensed by Sun to Netscape and later to the Mozilla Foundation," the pair write.  

"Netscape and Mozilla have used names such as JavaScript 1.4 to describe specific versions of their implementations of the language. Some implementors of the language have used other names to avoid possible trademark issues. 

"Because of the multiple names, the trademark issues, and the confusion with Java, many contemporary users, book authors, and tool implementors simply call the language JS, and 'js' is commonly used as a file extension for JavaScript source code."

Java was created by James Gosling, also in 1995, while he worked at Sun. Two years after Oracle acquired Sun, he was nabbed by Google during its legal battle with Oracle over the search company's use of Java APIs in Android

Gosling joined Tim Bray, another high-profile former Sun engineer who helped open-source Java and would lead Google's Android developer advocate team from 2010.

Signaling the future battle for the web and the first browser war, the duo recount that immediately after Netscape and Sun announced JavaScript in December 1995, Microsoft told the world it would make Visual Basic (VB) a standard for creating web-based applications using VB Script for its Internet Explorer browser.  

As the pair recall, JavaScript was originally conceived of as a "Java side-kick scripting language" where "all sophisticated programming tasks would be done using Java" thanks to Java applets.  

"But as experience with JavaScript grew, web developers began to realize that all they really needed was JavaScript," they write. 

However, at the outset, Netscape saw Java as critical to the future of the web and its war with Microsoft's Internet Explorer and proprietary Visual Basic.  

According to Eich and Wirfs-Brock, "The rallying cry articulated by Marc Andreessen at Netscape meetings was 'Netscape plus Java kills Windows'." In May 1995, as Sun announced Java, Netscape outlined its plan to license Java for its browser. 

But the decision to create JavaScript wasn't without its opponents, even though Andreessen and Sun's Bill Joy thought the only viable approach was to design and implement a "little language" to complement Java.  

"Doubters, dominant at Sun and a majority at Netscape, questioned the need for a simpler scripting language: wasn't Java suitable for scripting; would it be possible to explain why two languages were better than one; and did Netscape have the necessary expertise to create a new language?"

SEE: Programming languages: Developers reveal what they love and loathe, and what pays best

Another choice quote in the paper highlights Microsoft's radically different approach to proprietary and open-source software in the year 2000 in the context of an "internet tidal wave" that Gates saw coming that was then dominated by Netscape. 

"Microsoft, with Internet Explorer, had won and ultimately achieved over 90% market share. It had little ongoing interest in enhancing the web-programming platform over which it had no proprietary control," the pair write. 

"Internally, resources were redirected from enhancing open browser technologies such as ECMAScript to developing proprietary Microsoft technologies such as the Windows Presentation Framework, which it hoped would ultimately obsolete and displace open Web technologies. 

"In the area of programming languages for .NET, it focused on C# and VisualBasic.NET. In that context JScript.NET was relevant only to the degree it enabled JavaScript programmers to migrate to the .NET platform."

brendaneichtedx16.jpg

JavaScript creator Brendan Eich: "Doubters, dominant at Sun and a majority at Netscape, questioned the need for a simpler scripting language."  

Image: TED/YouTube

More on programming languages

  • Programming languages: Java still rules over Python and JavaScript as primary language  
  • Programming language Go: Microsoft hands VS Code Go extension to Google's Go team  
  • Microsoft: This new update makes VS Code friendlier for Java programming language jobs  
  • Programming languages: Developers reveal what they love and loathe, and what pays best  
  • Programming languages: Rust enters top 20 popularity rankings for the first time  
  • Microsoft: Here's why we love programming language Rust and kicked off Project Verona  
  • Microsoft: Bosque is a new programming language built for AI in the cloud  
  • Programming languages: Python apps might soon be running on Android  
  • Programming languages: Python developers reveal what they use it for and their top tools  
  • Microsoft: Our new free Python programming language courses are for novice AI developers  
  • Goodbye Python 2 programming language: This is the final Python 2.7 release  
  • PyCharm: Here's what Python programming language developers get in new IDE update  
  • New programming language rankings: Python now as popular as Java, as TypeScript climbs  
  • Programming languages: Java developers flock to Kotlin and ditch Oracle JDK for OpenJDK  
  • Programming languages: Go and Python are what developers most want to learn  
  • Know Python language and up for a 'hardcore' coding test? Get in touch, says Tesla  
  • Java or C++, Full stack or Front end: The programming languages and developer jobs that pay you the most  
  • Google reveals new Python programming language course: Scholarships for 2,500  
  • Netflix: Our Metaflow Python library for faster data science is now open source  
  • Tech jobs: Python programming language and AWS skills demand has exploded  
  • Python programming language creator retires, saying: 'It's been an amazing ride'
  • Programming languages: How Instagram's taming a multimillion-line Python monster
  • Salesforce: Why we ditched Python for Google's Go language in Einstein Analytics  
  • Microsoft: We want you to learn Python programming language for free
  • JPMorgan's Athena has 35 million lines of Python code, and won't be updated to Python 3 in time TechRepublic
  • Mozilla's radical open-source move helped rewrite rules of tech CNET
  • Editorial standards