-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bun? #139
Comments
Check why Bun features Apple's Javascript runtime https://developer.apple.com/documentation/javascriptcore instead of V8. |
Yeah, we've never needed to use code splitting. 🐌
Again, not using this yet. Just opening the issue to capture thoughts. 💭 |
A disgression, but for example, LiveView ships a lot (!) of (meaningful) Javascript. I believe the code should be split and stripped out from the unused JS. Vite or Rollup (or the new Rust RollDown should be used. But this is the work of the team, not ours. Take a look at |
Yeah, |
But... they did something amazing with
I just though 👏👏 |
Very good overview from Andrew. 👌 |
If you are not adding anything, indeed. Otherwise, you can start and stop bloating the JS, do dynamic imports, in other words, cutting your JS into pieces (all your hooks, web workers code etc), and thus potentially shipping less useless JS. 100k of JS, its not nothing |
definitely not nothing. but feels like a niche problem in a |
https://bun.sh -> https://github.com/oven-sh/bun
Written in
Zig
ref: dwyl/learn-zig#1Note: We haven't seen a performance bottleneck in our
Node
projects recently.(mostly because we've not been using
Node
in a perf-critical project for awhile
...)But the
Bun
appears to be faster at everything thanNode
.So I'm thinking of doing a
SPIKE
just to get it working on a basic project. 💭I wonder if this is just just a case of "Faster Horses" ... Or if there is a benefit to this beyond speed?
The text was updated successfully, but these errors were encountered: