The AI cost of JavaScript frameworks
32 points by luu 3 hours ago | 11 comments

tancop 2 hours ago
Astro comes out on top with the best time, #2 lowest spend and zero client side JS. I know what I'm using for my next project.
reply
vermilingua 56 minutes ago
Can confirm Astro is very very pleasant to use, and the escape hatches for when you do need something a bit more heavy hitting feel very well designed.
reply
truetraveller 13 minutes ago
next project? pun of the year?
reply
neya 35 minutes ago
This benchmark is too simplified to be meaningful. The choice of a framework is rarely based on speed alone, it factors in other elements like the user's domain knowledge, long term maintainability and the framework's track record itself w.r.t security and development of features.

In this regard alone, it will make a lot of sense to spend extra $2 and 2 mins to trade off for a long-term maintainable codebase and code you can reason about than just something made quickly just to get it deployed fast.

In my personal use case, that would be Svelte 5 for me and I'm sure it will be something else for everyone.

reply
iammrpayments 22 minutes ago
Interesting, I’m just sad svelte didnt behave better because of the LLM reading migration guide on every answer
reply
usernametaken29 50 minutes ago
Angular sucks, I always knew it, and now we have some data that it’s broken even for agents. I’m not surprised
reply
drnick1 41 minutes ago
Just use plain HTML for God's sake. HN demonstrates very well that you can do plenty without some Javascript monstrosity. At the very least, make your your websites degrades gracefully when JS is turned off.
reply
bazoom42 5 minutes ago
HN uses JavaScript though, not just plain HTML.
reply
r_lee 28 minutes ago
"do plenty" or just use React for everything and have a single thing where you don't need to worry about the limitations or having to remake the same stuff the framework provides?

and what % of users have JS turned off? 0.00001%?

reply
genshii 21 minutes ago
Glad to see Astro doing well here. It's by far my favorite way to build sites of all kinds, both content rich MPAs, and react heavy web apps.
reply
BatchJob 2 hours ago
Unfortunately the author is not only correct about front end development vibes, but due to this state of affairs, I ceased to recognize browser based UIs as being software development at all. Too much browser tech is broken to call it software. As for agents, good for them!
reply