On 2026-10-16, Lawrence D’Oliveiro wrote:
> On Fri, 16 Oct 2026 08:41:34 -0700, Peyton wrote: >
>> Lawrence D’Oliveiro <l…@nz.invalid> writes: >>
>>> On Thu, 15 Oct 2026 23:16:46 -0700, Peyton wrote: >>>
>>>> I'd argue knowing the difference between compiled and interpreted >>>> is basic CS.
>>> >>> Knowing that the difference is even less significant than you might >>> think is even more basic CS. >>>
>> Gee, I guess saving both hours of time and money is pretty >> insignificant.
> > Remember when JavaScript running in the browser was considered too > slow for anything involving advanced interactivity? Yet now we have > entire apps, as complex as anything you might run stand-alone on the > desktop, implemented entirely in the browser? > > How did that come about? Is your browser running a JavaScript > compiler, or a JavaScript interpreter? It’s really kind of a mixture > of both, isn’t it?
It mainly happened through high-end devices being available to many webdevs, and with concerns about portability and accessibility being easier to disregard. The code is still slow and heavy, some things may have become more efficient, but that's arguably largely offset by many more additions to what's usually done in these webapps. But yeah, the distinction between "compiled" and "interpreted" doesn't imply anything about performance, and it's completely possible for a language implementation with some sort of compilation to perform terribly (see e.g. CPython).
-- Nuno Silva