Essayer OR - Gratuit
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."
Cette histoire est tirée de l'édition March - April 2024 de WIRED.
Abonnez-vous à Magzter GOLD pour accéder à des milliers d'histoires premium sélectionnées et à plus de 9 000 magazines et journaux.
Déjà abonné ? Se connecter
PLUS D'HISTOIRES DE WIRED
WIRED
HOT CHEAP, AND OUT OF CONTROL
CHINA'S RENEWABLE ENERGY REVOLUTION AND ITS GLOBAL ONSLAUGHT OF CHEAP POWERIS A HUGE MESS THAT MIGHT SAVE THE WORLD.
10 mins
March / April 2026
WIRED
LUCKY SCOOP
HOW A BACKWATER COUNTY IN JIANGSU PROVINCE RAISED AN ARMY OF LIVESTREAMERS AND TURNED ITSELF INTO THE CRYSTAL CAPITAL OF THE WORLD.
11 mins
March / April 2026
WIRED
SCAM.SURVIVE.ESCAPE.EXPOSE.
A SOURCE TRAPPED INSIDE A SOUTHEAST ASIAN SCAM COMPOUND CONTACTED WIRED, DETERMINED TO LEAK HIS CAPTORS SECRETS IN REAL TIME. THEN HE HAD TO MAKE IT OUT ALIVE. THIS IS HIS STORY.
41 mins
March / April 2026
WIRED
THE AI BOYFRIEND BOOM
IN CHINA, IT'S GEN Z WOMEN, NOT MEN, WHO ARE DOMINATING THE MARKET FOR DIGITAL PARTNERS.
6 mins
March / April 2026
WIRED
WATCH THIS SPACE
KIDS AS YOUNG AS 5 ARE WEARING SMARTWATCHES THAT PLUNGE THEM INTO A WORLD OF POPULARITY CONTESTS, ENGAGEMENT HACKS, AND EVEN DATING.
4 mins
March / April 2026
WIRED
POWER PLAY
WITH FACTORIES AND MANUFACTURING DEALS ON NEARLY EVERY CONTINENT, CHINESE BATTERY COMPANIES ARE TAKING OVER THE WORLD.
3 mins
March / April 2026
WIRED
THE GREAT CHINESE NOVEL
MILLIONS OF WORDS. HUNDREDS OF AUTHORS. THE MORNING STAR OF LINGAO IS BARELY KNOWN OUTSIDE CHINA BUT IT'S THE KEY TO UNDERSTANDING THE COUNTRY'S MODERNIZATION AND MALAISE.
8 mins
March / April 2026
WIRED
BABY MAKER
NOW HE'S AGAIN HOPING TO MODIFY HUMAN EMBRYOS.
6 mins
March / April 2026
WIRED
THIS IS WHAT SUCCESS LOOKS LIKE
THE BIGGEST ANIMATED MOVIE IN THE WORLD WAS MADE IN CHINA. IT CONCEALS AN UGLY TRUTH.
2 mins
March / April 2026
WIRED
ECLIPSED
THE US DECLARED A SPACE RACE WITH CHINAAND GAVE ITSELF ALMOST ZERO CHANCE OF WINNING.
17 mins
March / April 2026
Listen
Translate
Change font size
