News for hackers. Stuff that matters.
Re:The many, many, many JavaScript runtimes of the last decade by LinguaBrowse on Sunday July 27, 2025 @10:28AM (#44701575)
Took me over a year to finish writing this monster of an article. 4,000+ words, 200+ links, and lots of research covering countless JavaScript runtimes and engines.

Please have a read! I guarantee you'll learn something new.

Re:The many, many, many JavaScript runtimes of the last decade by n0n0n4t0r on Sunday July 27, 2025 @01:37PM (#44702984)
I indeed did learn (a lot). Thank you sir for this monster:)
Re:The many, many, many JavaScript runtimes of the last decade by kamikazeturtles on Sunday July 27, 2025 @01:54PM (#44703143)
I always wondered if there is still an ROI for writing a well researched in depth article.

If the insight in the article is actually unique, it'll just get regurgitated by other writers and AIs a hundred times, maybe even with better visuals and diagrams and that'll be the article that gets all the clicks.

Re:The many, many, many JavaScript runtimes of the last decade by tommica on Sunday July 27, 2025 @02:32PM (#44703417)
Maybe the ROI is something more personal than getting clicks?
Re:The many, many, many JavaScript runtimes of the last decade by jbreckmckye on Sunday July 27, 2025 @02:40PM (#44703473)
It can be. But there is a certain existential dread, in the hours after sharing something, when you fear it might all have been toil in obscurity
Re:The many, many, many JavaScript runtimes of the last decade by chistev on Sunday July 27, 2025 @02:51PM (#44703568)
I feel this way.
Re:The many, many, many JavaScript runtimes of the last decade by LinguaBrowse on Sunday July 27, 2025 @05:02PM (#44704658)
I had some faith this time as I saw a good handful of readers opening the email just moments after I'd posted the newsletter out!

And while I figured Hacker News would be a coin flip, for other sites that show link previews, I was optimistic that the cartoons would encourage a click, too. In a time where many writers are using soulless AI-generated poster images, just putting in a token effort to do something original goes a long way.

Re:The many, many, many JavaScript runtimes of the last decade by LinguaBrowse on Sunday July 27, 2025 @04:57PM (#44704619)
Author here – the return on investment will be modest, no doubt. I started the newsletter in order to share any thoughts on various topics without having to please a social media algorithm to get seen. Winning a few new readers for my efforts is all I'm really looking!

As for the article getting regurgitated, I am not too worried. It is simply an awfully long, awfully dense article for any LLM to synthesise more than a handful of bullet points out of, so I think any derivative product is going to make for a far less engrossing read. Indeed, if you try asking ChatGPT about runtimes right now, you'll get a pathetically shallow and mainstream analysis.

There may well be clickbait articles spawned from this, but I'm optimistic that people will find the source and be able to tell in an instance that it's the Real McCoy.

Re:The many, many, many JavaScript runtimes of the last decade by jjkaczor on Monday July 28, 2025 @11:24AM (#44711774)
Naw - the internet enables "long-tail" content - but I say this as a person who occasionally writes VERY long "blog-posts" that are technically KB/how-to, magazine article length...

Yes, AI will scrape it and regurgitate it - but over-time it will reach people who need to know - plus it is also helpful for oneself...

Re:The many, many, many JavaScript runtimes of the last decade by simonw on Sunday July 27, 2025 @07:18PM (#44705595)
The ROI can still be massive even if only a few people actually read it.

It just takes one person who read the article (or found it later via search) to get a huge ROI if it resonates just right.

A job opportunity, an invite to some event, a potential collaboration - the right reader can unlock all kinds of opportunities.

Re:The many, many, many JavaScript runtimes of the last decade by johnisgood on Monday July 28, 2025 @03:45AM (#44708297)
This is very true, in life in general. You do a good deed on the street right before your interview, and lo and behold, the person you did the good deed to turns out to be your interviewer! These things (be it an article or a good deed) can definitely pay off.
Re:The many, many, many JavaScript runtimes of the last decade by Tokumei-no-hito on Sunday July 27, 2025 @01:58PM (#44703182)
it's interesting that a lot of innovation happened on mobile runtimes to deal with apples JIT restriction. what was that about and why didn't android have the constraint?

of course i can look it up, but you probably have a better insight than the slop i'll find off google.

thanks for the article. these days it's rare to see something so well researched and written while still being able to tell it was authored by a human. cheers

Re:The many, many, many JavaScript runtimes of the last decade by toast0 on Sunday July 27, 2025 @02:11PM (#44703266)
Apple has a JIT restriction because JIT introduces native code that was not present during app review, and app review is where they prohibit calling non-public APIs, at least historically.

Android doesn't have a JIT restriction. API restrictions are expected to be enforced at runtime, not through review time checks.

Re:The many, many, many JavaScript runtimes of the last decade by quotemstr on Sunday July 27, 2025 @02:31PM (#44703406)
> Apple has a JIT restriction because JIT introduces native code that was not present during app review, and app review is where they prohibit calling non-public APIs, at least historically.

Another regrettable thing about our industry is the proliferation of locked-gate-in-an-open-field-tier security theater. Apple's PROT_EXEC restriction has zero security benefit: anything JIT-compiled code can do, interpreted code can do too.

(In the same vein, macOS Santa (used by many a tech company to police programs runnable on Apple developer endpoints) doesn't restrict script launches at all. The interpreters that Apple ships with macOS have built-in FFIs like Python ctypes that enables programs launched using these interpreters to do anything a Mach-O binary can do.)

While I respect the sweat and cleverness that went into making JS runtimes work efficiently while wearing Apple's no-PROT_EXEC hairshirt, none of this work ought to have been necessary. Imagine how much further ahead the industry would be if these big brains had focused on solving some other problem.

Re:The many, many, many JavaScript runtimes of the last decade by LinguaBrowse on Sunday July 27, 2025 @06:19PM (#44705247)
I totally agree that the lack of JIT has been a huge waste of human resources. NativeScript and React Native have had to move so many mountains to make viable software despite it.
Re:The many, many, many JavaScript runtimes of the last decade by LinguaBrowse on Sunday July 27, 2025 @06:25PM (#44705286)
The other reploies seem to have answered it! I've never understood why iOS allows JIT inside WKWebView yet not inside bare JavaScriptCore. Maybe because WKWebView runs in its own separate process while a JavaScriptCore instance would run in-process? As for Android, guess Google are just a little more gung-ho?

> thanks for the article. these days it's rare to see something so well researched and written while still being able to tell it was authored by a human. cheers

Really appreciated, thanks! I do despaire that the ease of generating content with AI disincentivises (and discourages) authors from expending real effort, but there's a satisfying inflection point at which you can be sure you've written something that an LLM couldn't possibly have come up with.

Re:The many, many, many JavaScript runtimes of the last decade by frankietaylr on Sunday July 27, 2025 @02:16PM (#44703306)
Fascinating read. Great work on the research. Where do you think it will go from here?
Re:The many, many, many JavaScript runtimes of the last decade by LinguaBrowse on Sunday July 27, 2025 @04:29PM (#44704412)
As for JavaScript runtimes, having seen Lynx (and some of the internal work NativeScript is doing), I'd like to see more engine-agnostic runtimes rather than coupling each runtime to one engine.

As for writing, I'd like to stick to more manageable topics in future so that I can write as a hobby rather than as daunting work. My previous "Frontend predictions for 2024" (https://buttondown.com/whatever_jamie/archive/frontend-predi...) was similarly thorough and took an exhausting rush to write up. But simpler articles like "Staying productive with chronic pain" (https://buttondown.com/whatever_jamie/archive/staying-produc...) were all possible to finish in a weekend.

There's probably a good story in Node-API, but I think I'd rather take on a research-light topic for a break first!

Re:The many, many, many JavaScript runtimes of the last decade by quotemstr on Sunday July 27, 2025 @02:26PM (#44703369)
Thanks for putting in all this work. People should get more credit for writing good survey articles like yours.

One of the regrettable quirks of our industry is the way we replicate theoretically language-neutral components separately in multiple language ecosystems and verticals. I wish we didn't a separate npm and cargo. I wish the polyglot runtimes you mention (especially Graal) would see more adoption. I wish we didn't have both Duktape and MicroPython. There's nothing language-specific about efficient garbage collection or compact bytecode or package dependency resolution.

Re:The many, many, many JavaScript runtimes of the last decade by LinguaBrowse on Sunday July 27, 2025 @04:19PM (#44704345)
Thank you very much!

I totally agree on reinventing the wheel. I think our biggest tool towards that will be Node-API, which is the one low-level building block that JavaScript runtimes seem to agree on (and heck, I'm sure non-JavaScript engines could implement a decent chunk of Node-API). The Hermes team are currently interested in it (https://github.com/facebook/hermes/pull/1377#issuecomment-29...) for implementing heavy chunks of the ECMAScript spec like Intl and Temporal as plug-in features.

It's interesting that you bring up tooling like npm and Cargo, I've never thought of sharing those. Although I'm no great shakes at Rust, I really, really liked how Cargo did things (e.g. optional dependencies and rigid library structure) and it'd be incredible to have that for the JavaScript ecosystem.

Also do keep hearing nothing but great things about Graal, I think it's being slept on.

Re:The many, many, many JavaScript runtimes of the last decade by serhalp on Sunday July 27, 2025 @09:00PM (#44706159)
> I really, really liked how Cargo did things (e.g. optional dependencies and rigid library structure) and it'd be incredible to have that for the JavaScript ecosystem.

FYI: https://thenewstack.io/vites-creator-on-a-unified-javascript...

Re:The many, many, many JavaScript runtimes of the last decade by LinguaBrowse on Monday July 28, 2025 @09:20AM (#44710628)
I'm keeping my eye on Void0, yeah! If anyone can live up to such promises, it'll be them.

They'll have a tough job getting sticky ecosystems like React Native to adopt, but hope to see them make a compelling case for their stack.

Re:The many, many, many JavaScript runtimes of the last decade by revskill on Sunday July 27, 2025 @04:32PM (#44704438)
Just because he spent 1 year ???
Re:The many, many, many JavaScript runtimes of the last decade by nabwodahs on Sunday July 27, 2025 @05:45PM (#44704994)
I'm relatively new to the JS/TS space and I'm building a mobile app that needs to run on both platforms. Also building a back end for it using Deno.

I thought this article was highly informative and useful. Great job, and thanks!

Re:The many, many, many JavaScript runtimes of the last decade by LinguaBrowse on Sunday July 27, 2025 @07:04PM (#44705511)
Thank you! I'd tend to default to Expo if building a mobile app in JavaScript these days, but Capacitor, Tauri, and NativeScript are all good options too.
Re:The many, many, many JavaScript runtimes of the last decade by leptons on Sunday July 27, 2025 @06:18PM (#44705238)
Did you consider things like JScript.NET? jsc.exe still comes with every Windows installation, and JScript still runs on IIS server (I have built a few things with it).

And what about things like Adobe Photoshop, After Effects, Premiere, and Illustrator which can run Javascript using either Extendscript in older versions or V8 in modern versions.

https://developer.adobe.com/xd/uxp/uxp/versions/

https://developer.adobe.com/photoshop/uxp/2022/ps_reference/

Re:The many, many, many JavaScript runtimes of the last decade by LinguaBrowse on Sunday July 27, 2025 @06:54PM (#44705459)
> Did you consider things like JScript.NET? jsc.exe still comes with every Windows installation, and JScript still runs on IIS server (I have built a few things with it).

I've not heard of any of these, wow – very cool that it's still bundled with Windows. I suspect that most things related to JScript wouldn't fit the scope of "the last decade", though? I tended to focus on creation date when deciding what should be in scope.

> And what about things like Adobe Photoshop, After Effects, Premiere, and Illustrator which can run Javascript using either Extendscript in older versions or V8 in modern versions.

Hmm, these may well qualify, you're right. Maybe I can add them to the addendum. I'd want to do a bit of research to understand their timeline and genealogy before including them, though. Wrists beginning to hurt for today now, though!

I do recall now that Adobe PDFs can run JavaScript. That would've been worth a mention for sure.

Re:The many, many, many JavaScript runtimes of the last decade by syrusakbary on Monday July 28, 2025 @03:55AM (#44708384)
The article is awesome. Thanks for the mention to Wasmer and WinterJS.

Cool things coming in the pipeline!

Re:The many, many, many JavaScript runtimes of the last decade by pjmlp on Monday July 28, 2025 @05:36AM (#44709004)
It was a very interesting read, thanks for the effort and sharing it with us.
Re:The many, many, many JavaScript runtimes of the last decade by Imustaskforhelp on Monday July 28, 2025 @05:55AM (#44709105)
This is the first time I have ever signed up for a newsletter and I did it without reading the HN comments or the fact that you wrote it or it took so long to write.

I really appreciate such deep dives, though I admittedly knew some of them because I was also obsessed much like you with the edge/ js engine space but still I learned a lot

I really liked reading through the blog. Please, take your time, rest and create such beautiful masterpieces in the future too, I would be waiting for them patiently!

Have a nice day.

Re:The many, many, many JavaScript runtimes of the last decade by LinguaBrowse on Monday July 28, 2025 @09:17AM (#44710589)
Thank you for the kind words! Glad to get this one out of the way so that I can do some less ambitious articles for a change. But hope to make them good in their own way, too!
Re:The many, many, many JavaScript runtimes of the last decade by fud101 on Monday July 28, 2025 @10:38AM (#44711317)
didn't read it, was too long and the parts i skimmed were dull.
Re:The many, many, many JavaScript runtimes of the last decade by progbits on Monday July 28, 2025 @02:05PM (#44713540)
It's fine to not like things, but what exactly is the point of your comment, other than being mean?
Re:The many, many, many JavaScript runtimes of the last decade by fud101 on Monday July 28, 2025 @09:04PM (#44717770)
I dont know, but i'd love to know more about Javascript in general so I found it especially bad. Just my 2c.
Re:The many, many, many JavaScript runtimes of the last decade by Neurrone on Monday July 28, 2025 @11:55AM (#44712093)
Incredible article. I never knew there were so many JavaScript runtimes out there, and that it was possible to run JavaScript on microcontrollers.