Prøve GULL - Gratis
IN DEFENSE OF JAVASCRIPT
WIRED
|March - April 2024
Mock it all you want-but it runs the world. Possibly even literally.

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."
Denne historien er fra March - April 2024-utgaven av WIRED.
Abonner på Magzter GOLD for å få tilgang til tusenvis av kuraterte premiumhistorier og over 9000 magasiner og aviser.
Allerede abonnent? Logg på
FLERE HISTORIER FRA WIRED

WIRED
THE FIGHT OF HER LIFE
Surrogate pregnancy is all the rage in Silicon Valley and beyond. What happens when it goes horribly wrong?
25 mins
November - December 2025

WIRED
SPACE EMPEROR
ELON MUSK CONTROLS THOUSANDS OF INTERNET SATELLITES AND MORE THAN HALF THE WORLD'S ROCKET LAUNCHES. CAN ANYONE STOP HIM?
20 mins
November - December 2025
WIRED
THE IMPROBABLE
Tech billionaire Mike Lynch made probability his life's work, until his wildly unlikely death at sea. Now, many of his friends and associates-and survivors of the disaster-are speaking about what happened for the first time.
25 mins
November - December 2025
WIRED
OUT WITH THE OLD
Introducing WIRED's 2025 Political Power Users-the 22 very online creators, podcasters, and pundits who will blow up the next electoral era.
14 mins
November - December 2025
WIRED
POLITICS GETS WIRED
IT'S BEEN ONE year since Donald Trump took back the White House.
2 mins
November - December 2025

WIRED
FAHRENHEIT 5G
INSIDE THE MIND OF THE MOST PROLIFIC VIOLENCE OF OUR ERA. ANTI-TECHNOLOGY ARSONIST IN AMERICAAND THE CONSPIRACY-DRIVEN POLITICAL
23 mins
November - December 2025

WIRED
KAT'S OUT OF THE BAG
At 26 years old, Kat Abughazaleh thinks she's uniquely qualified for Congress. But running for office is a different sort of influencing.
13 mins
November - December 2025

WIRED
MOV'D BY THE SPIRIT
Whether your chip runs an old computer game or a new DeepSeek model, it'll reward you for speaking its native tongue: assembly.
5 mins
November - December 2025

WIRED
SKELETON CREW
Somewhere out in the countryside, hidden behind a copse of trees, are fields full of dead human bodies. These corpses have been strategically laid out in rows, naked as the day they were born, and left to the mercy of the elements until all that's left of them are bones.
3 mins
November - December 2025

WIRED
QUEEN OF CHIPS
Lisa Su has built AMD into a chipmaking phenom. And as the US-China tech war rages on, she's at the center of it all.
8 mins
November - December 2025
Listen
Translate
Change font size