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.
replyvermilingua 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.
replytruetraveller 13 minutes ago
next project? pun of the year?
replyneya 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.
replyIn 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.
iammrpayments 22 minutes ago
Interesting, I’m just sad svelte didnt behave better because of the LLM reading migration guide on every answer
replyusernametaken29 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
replydrnick1 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