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 8,500+ magazines and newspapers.
Already a subscriber ? Sign In
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 8,500+ magazines and newspapers.
Already a subscriber? Sign In
RUSSIAN, GO HOME
WHEN MY COUNTRY WENT TO WAR, I FACED A CHOICE: Flee to a world where the truth might kill me - or seek peace in censored oblivion.
The Fateful Eight
THE STORY BEHIND THE MOST CONSEQUENTIAL TECHNOLOGICAL PAPER IN RECENT HISTORY.
Can the Internet's Greatest Authenticity Machine Survive Wall Street?
When thousands of subreddits went dark in protest last summer, it exposed the tension at the core of Reddit - on the eve of the company's IPO. Now that synthetic media is flooding the internet, does the web's most reliably human forum represent a gold mine for investors, or an old-fashioned dumpster fire?
The Unnerving Presence of Javier Bardem
He's known for playing fanatics and murderous psychopaths. In real life, he loves his wife (and Brad Pitt) and cries during E.T.
HAPPY HAUNTING
IN A CHARMING game called This Discord Has Ghosts in It, up to 15 participants at a time gather in a Discord server that has been reimagined as a haunted house. (Of course.) Inside lies a maze of (chat) rooms where each player takes the role of either an eponymous spirit or a paranormal investigator.
THE MYTH OF METAL
How I became a Python programmer - and learned to love our abstract world.
SO YOU WANT TO REWIRE BRAINS
There's a lot to like about brain-computer interfaces, those sci-fi-sounding devices that jack into your skull and turn neural signals into software commands. Experimental BCIS help paralyzed people communicate, use the internet, and move prosthetic limbs.
FOR GIANT LIZARDS, PLEASE HOLD
The sounds of Slack have a secret history.
WOMEN AT THE BOTTOM OF THE WORLD
They go to Antarctica with dreams of studying the unknown. What they discover there is the stuff of nightmares.
THE NERD-KING VIBES OF JENSEN HUANG
The Nvidia CEO turned a graphics-card company into a trillion-dollar AI behemoth. Now he wants to transform the rest of the world-health care, robotics, autonomous driving, the works.