Hacker News new | ask | show | jobs
by alberth 1400 days ago
My moneys on Just-JS.

It’s consistently in the top 5 fastest web framework (beating out Rust, etc).

Just-JS is already faster than Bun.

Additionally, JSCore appears to be a significant reason why Bun is faster than NodeJS (V8). Just-JS is investigating switching to JSCore as well - which will only extend its lead.

https://github.com/just-js/just

https://www.techempower.com/benchmarks/#section=data-r21

https://twitter.com/justjs14/status/1560741923106725889#m

https://twitter.com/justjs14/status/1557856790897106944#m

4 comments

Besides being Linux-only, the GH page lists intentional restrictions like “commonjs modules, no support for ES modules” -- that seems like a biggie!

The benchmarks seem to focus exclusively on startup time, which is certainly important but not the only important thing. (And unless I misread those tweets it’s only a tiny bit ahead of bun.)

More competition is good and helps keep everyone honest, of course, but it looks like extremely early days for this project.

Bun does ESM, JSX, Typescript and SQLite support out of the box. It also does bundling. It’s quite nice.

I’m thinking of building a zero-dependency toolkit on top of it. I rewrote Tailwind this weekend with that in mind, and my 4-second Tailwind build (on a 90k line project) now takes 200ms. That’s mostly due to how I architected my Tailwind library; not Bun, but Bun is fast where it’s been optimized.

I love the idea of a zero (or very low) dependency, modern toolkit. I’m rooting for Bun.

I'm interested to hear more about your tailwind rewrite? Any interesting challenges and any plans on open sourcing it?
You might be right, though it's Linux only, and still has a "coming soon" as documentation. Worth keeping an eye on, but seems more in the experimental phase compared to bun.
Linux only? I think that'll cap adoption regardless of any perf advantages
> Linux only? I think that'll cap adoption regardless of any perf advantages

For web applications, Linux is usually the eventual development target, and running Linux development environments on Windows and MacOS is a solved problem. So no, not really going to be much of a problem.