IN DEFENSE OF JAVASCRIPT
WIRED|March - April 2024
Mock it all you want-but it runs the world. Possibly even literally.
SHEON HAN
IN DEFENSE OF JAVASCRIPT

LEX FRIDMAN HAS done many long interviews on his popular podcast. Even so, the episode with the legendary programmer John Carmack has an unhinged director's-cut feel to it. Over five hours, Carmack dishes on everything from vector operations to Doom. But it's something Fridman says, offhand, that really justifies the extended run time: "I think that if we're living in a simulation, it's written in JavaScript."

To review: JavaScript is what makes static web pages "dynamic." Without it, the internet would resemble nothing so much as an after-hours arcade, lifeless and dark. These days, the language is used in both front- and backend development for a whole host of mobile platforms and apps, including Slack and Discord. And the main thing to understand about it, in the context of Fridman's nerdy koan, is this: For any self-respecting programmer, admitting to actually liking JavaScript is something of a faux pas-much like an art-house filmmaker confessing to Marvel fandom.

I suppose this has something to do with the fact that JavaScript was created in less time than it takes to home-brew a jar of kombucha: 10 days. In 1995, Netscape hired a programmer named Brendan Eich to create a language to embed in its browser, Netscape Navigator. Originally called LiveScript, the language was renamed JavaScript to piggyback on the hype around an unrelated language called Java, which had been introduced earlier that year. (Asked the difference between Java and JavaScript, a programmer is likely to joke: "Java is to JavaScript what car is to carpet.") To this day, few people consider JavaScript a particularly well-designed language, least of all Eich. "I perpetrated JavaScript in 1995," he once said, "and I've been making up for it ever since."

This story is from the March - April 2024 edition of WIRED.

Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.

This story is from the March - April 2024 edition of WIRED.

Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.

MORE STORIES FROM WIREDView All
MOVE SLOWLY AND BUILD THINGS
WIRED

MOVE SLOWLY AND BUILD THINGS

EVERYTHING DEPENDS ON MICROCHIPS-WHICH MEANS TOO MUCH DEPENDS ON TAIWAN. TO REBUILD CHIP MANUFACTURING AT HOME, THE U.S. IS BETTING BIG ON AN AGING TECH GIANT. BUT AS MONEY AND COLOSSAL INFRASTRUCTURE FLOW INTO OHIO, DOES TOO MUCH DEPEND ON INTEL?

time-read
10+ mins  |
January - February 2025
FOLLOW THAT CAR
WIRED

FOLLOW THAT CAR

CHASING A ROBOTAXI FOR HOURS AND HOURS IS WEIRD AND REVELATORY, AND BORING, AND JEALOUSY-INDUCING. BUT THE DRIVERLESS WORLD IS COMING FOR ALL OF US. SO GET IN AND BUCKLE UP.

time-read
10+ mins  |
January - February 2025
REVENGE OF THE SOFTIES
WIRED

REVENGE OF THE SOFTIES

FOR YEARS, PEOPLE COUNTED MICROSOFT OUT. THEN SATYA NADELLA TOOK CONTROL. AS THE COMPANY TURNS 50, IT'S MORE RELEVANT-AND SCARIER-THAN EVER.

time-read
10+ mins  |
January - February 2025
THE NEW COLD WARRIOR
WIRED

THE NEW COLD WARRIOR

CHINA IS RACING TO UNSEAT THE UNITED STATES AS THE WORLD'S TECHNOLOGICAL SUPERPOWER

time-read
10+ mins  |
January - February 2025
CALIFORNIA DREAMIN'
WIRED

CALIFORNIA DREAMIN'

KINDRED MOTORWORKS VW BUS - Despite being German, the VW T1 Microbus is as Californian as the Grateful Dead.

time-read
5 mins  |
January - February 2025
THE INSIDE SCOOP ON DESSERT TECH
WIRED

THE INSIDE SCOOP ON DESSERT TECH

A lab in Denmark works to make the perfect ice cream. Bring on the fava beans?

time-read
3 mins  |
January - February 2025
CONFESSIONS OF A HINGE POWER DATER
WIRED

CONFESSIONS OF A HINGE POWER DATER

BY HIS OWN estimation, JB averages about three dates a week. \"It's gonna sound wild,\" he confesses, \"but I've probably been on close to 200 dates in the last year and a half.\"

time-read
4 mins  |
January - February 2025
THE WATCHFUL INTELLIGENCE OF TIM COOK
WIRED

THE WATCHFUL INTELLIGENCE OF TIM COOK

APPLE INTELLIGENCE IS NOT A PLAY ON \"AI,\" THE CEO INSISTS. BUT IT IS HIS PLAY FOR RELEVANCE IN ALL AREAS, FROM EMAIL AUTO-COMPLETES TO APPS THAT SAVE LIVES.

time-read
10+ mins  |
January - February 2025
COPYCATS (AND DOGS)
WIRED

COPYCATS (AND DOGS)

Nine years ago, a pair of freshly weaned British longhair kittens boarded a private plane in Virginia and flew to their new home in Europe.

time-read
4 mins  |
January - February 2025
STAR POWER
WIRED

STAR POWER

The spirit of Silicon Valley lives onat this nuclear fusion facility's insane, top-secret opening ceremony.

time-read
9 mins  |
January - February 2025