r/javascript • u/arstechnica • Dec 04 '25
In 1995, a Netscape employee wrote a hack in 10 days that now runs the Internet
http://arstechnica.com/gadgets/2025/12/in-1995-a-netscape-employee-wrote-a-hack-in-10-days-that-now-runs-the-internet
1.0k
Upvotes
305
u/arstechnica Dec 04 '25
Thirty years ago today, Netscape Communications and Sun Microsystems issued a joint press release announcing JavaScript, an object scripting language designed for creating interactive web applications. The language emerged from a frantic 10-day sprint at pioneering browser company Netscape, where engineer Brendan Eich hacked together a working internal prototype during May 1995.
While the JavaScript language didn’t ship publicly until that September and didn’t reach a 1.0 release until March 1996, the descendants of Eich’s initial 10-day hack now run on approximately 98.9 percent of all websites with client-side code.
The full article goes into the early days of JavaScript and the frantic lead-up to its public introduction. Read more if you're interested: https://arstechnica.com/gadgets/2025/12/in-1995-a-netscape-employee-wrote-a-hack-in-10-days-that-now-runs-the-internet/
99
u/mauriciocap Dec 04 '25
Very knowledgeable devs. I wouldn't call it "a hack" as any seasoned LISPer or Schemer can probably write a bare bones interpreter in a few hours.
One of them had the generosity of sharing this awesomeness here:
https://www.wirfs-brock.com/allen/jshopl.pdf
23
u/Tojuro Dec 04 '25
I've been a programmer for a long time and have done a really bad job at naming things on a lot of occasions, but never as bad as calling JavaScript JavaScript.
They literally just thought shiny new Java was cool so used that name. It would be like calling it something stupid like AIscript or LLMScript now.
43
u/azhder Dec 04 '25
It wasn’t written in 10 days. It was re-written in that time out of a former project already meant to do what it does.
6
u/brjukva Dec 04 '25
In 1997 I chose JavaScript for my university coursework in game algorithms. Made a beautiful 10x10 tic-tac-toe game running in Netscape Navigator. Still have it somewhere in the archives.
5
u/alphaglosined Dec 04 '25
Lua 1993.
Life could've been better.
4
u/[deleted] Dec 04 '25
And I'm so thankful for it!
2
u/theDawckta Dec 05 '25
Anything that takes ten days to implement isn’t a hack.
2
u/snnsnn Dec 05 '25
It is catchy but not exactly true. Lame old story.
1
u/l008com Dec 06 '25
"its wildly popular" yeah no shit, its literally the only client side programming languages that comes in every browser, of course everyone uses it. Wait till you hear how popular HTML is on websites.
Also, I remember in the late 90s when I tried getting in to javascript. What an absolute shit show it was back then. A total disaster. It has come a long way, thankfully. During the early 2000's, it was way more trouble than it was worth, so all of my websites and dynamic pages, were just server side php that would reload the page whenever needed. Around the time IE finally started to die, javascript became fast enough to use a lot, and it had enough new features to make it worth using. And unlike in the netscape days, using it wouldn't spontaneously cause your browser to crash.
1
u/riterix Dec 06 '25
That now F*cks the internet... Sorry : Broke the Internet.
1
u/makeavoy Dec 08 '25
Meanwhile it's taken me 2 years to write a Lua interpreter in Rust, no wonder I can't find a job 😵💫
-1
u/atehrani Dec 04 '25
JavaScript written in 10 days? Yeah it shows...
-1
u/TheNewOP Dec 04 '25
It shows. On the dev team scalability-popularity language matrix, JS is waaaay up there, only remediated by a DLC (TypeScript)
-6
u/3235820351 Dec 04 '25
…and we are still suffering due to it.
-27
u/[deleted] Dec 04 '25
Wish they didn't. But the true morons are the ones who started using it for backend development.
1
u/DeusExCochina Dec 07 '25
Some people fantasize about traveling backward in time to assassinate Hitler and save the world. Other people have the same fantasy, but featuring Brendan Eich.
15
u/[deleted] Dec 04 '25
[removed] — view removed comment