In defense of a much-mocked programming language.
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.
This holds some truth in a general sense, but saying one language is “slower” than another is, technically speaking, an ill-formed objection. The performance of a language depends not only on the language itself but also on the caliber of its run-time environment—the setting in which the code is executed—and its compiler, which translates source code into a machine-readable format. Put differently, uncompiled code is akin to an uncast magic spell.
United States Latest News, United States Headlines
Similar News:You can also read news stories similar to this one that we have collected from other news sources.
Ditching Distractions (Even Music) During My Runs Cleared My Mind and Made Me a Better RunnerDiscover how ditching distractions (yes, even music) can make you a better runner and help you get the most out of the experience.
Read more »
White House, tribal leaders hail 'historic' deal to restore salmon runs in PNW regionThe plan, announced in December, stopped short of calling for the removal of four controversial dams on the Snake River.
Read more »
1 car, 2 hit-and-runs; Seattle Police investigate after 2 people struck on the sidewalksSeattle Police say one car is likely responsible for running two hit-and-runs over two people who thought they were safe on the sidewalk.
Read more »
Stolen big rig goes up in flames as suspect runs away from police during pursuitA stolen big rig led officers on a cross-county pursuit before bursting into flames near Rancho Cucamonga.
Read more »
Mom Runs Marathon to Cope With Double Mastectomy, HysterectomyStephanie Thurrott is a writer who covers mental health, personal growth, wellness, family, food and personal finance, and dabbles in just about any other topic that grabs her attention. When she's not writing, look for her out walking her dog or riding her bike in Pennsylvania's Lehigh Valley.
Read more »
Late-season magic runs out for Houston Academy girls with loss to Cottage HillHouston Academy’s remarkable late-season run came to an end Friday with a 40-24 loss to Cottage Hill Christian in the Class 3A girls South Regional semifinals at Garrett Coliseum.
Read more »