Facebook Pixel IN DEFENSE OF JAVASCRIPT | WIRED - science - Magzter.comでこの記事を読む

試す - 無料

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."

WIRED からのその他のストーリー

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.

time to read

10 mins

March / April 2026

WIRED

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.

time to read

11 mins

March / April 2026

WIRED

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.

time to read

41 mins

March / April 2026

WIRED

WIRED

THE AI BOYFRIEND BOOM

IN CHINA, IT'S GEN Z WOMEN, NOT MEN, WHO ARE DOMINATING THE MARKET FOR DIGITAL PARTNERS.

time to read

6 mins

March / April 2026

WIRED

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.

time to read

4 mins

March / April 2026

WIRED

WIRED

POWER PLAY

WITH FACTORIES AND MANUFACTURING DEALS ON NEARLY EVERY CONTINENT, CHINESE BATTERY COMPANIES ARE TAKING OVER THE WORLD.

time to read

3 mins

March / April 2026

WIRED

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.

time to read

8 mins

March / April 2026

WIRED

WIRED

BABY MAKER

NOW HE'S AGAIN HOPING TO MODIFY HUMAN EMBRYOS.

time to read

6 mins

March / April 2026

WIRED

WIRED

THIS IS WHAT SUCCESS LOOKS LIKE

THE BIGGEST ANIMATED MOVIE IN THE WORLD WAS MADE IN CHINA. IT CONCEALS AN UGLY TRUTH.

time to read

2 mins

March / April 2026

WIRED

WIRED

ECLIPSED

THE US DECLARED A SPACE RACE WITH CHINAAND GAVE ITSELF ALMOST ZERO CHANCE OF WINNING.

time to read

17 mins

March / April 2026

Listen

Translate

Share

-
+

Change font size