150 points · by chinmaykunkikar · 3y ago · 84 comments
Bun 1.0 is actually still compiling but we decided not to delay the premiere of this announcement video since it was already on calendars. We'll be publishing a full announcement post later today that's more detailed than this video.
Edit: Sorry it went down again. Not sure if this will be the eventual link.
The video is well done, and I'm fascinated that it's built on WebKit instead of V8. Good luck, Bun.team()!
Sure - the Bun developers might have a super hard time if Zig changes its syntax, library APIs or other things. But that would be a maintenance hassle for the Bun developers, and not necessarily for the Bun users.
[0]: https://github.com/ziglang/zig/issues?q=is%3Aopen+is%3Aissue...
It's a 501(c)(3) non profit and has been open source since `git init`. Even the financials are transparent to the public. What else could we possibly do?
With a codebase this size theres a real chance of having miscompilations in there.
What's the points of running a safe language on broken infrastructure, it's garbage in garbage out.
And with Zigs recent plans to replace llvm with their own backend I'm not even sure if they won't continue scope creeping into vapourware.
You burn those CPUs in. You run them a bunch. Measure them. Measure their efficiency gains. If the gains are real, make a plan for scaling them up. Have fallback plans. The usual stuff. If a company has someone that does this as their job, they're on it.
If Bun affected your source code or development process, I would understand this perspective. Maybe don't use Bun-specific APIs yet, and just stick with the Node compatibility.
the internals of bun may need to change when a new version of zig requires it, and the bun developers decide to use that version of zig, but existing versions of zig will continue to exist in the future.
future versions of bun can use existing turing complete versions of Zig if they ever decide to remove turing completeness from the language in the future.
lol
Of course text changelogs are always required, and I can only assume they will publish one today, but this Apple-ish format is very "eat a sandwich and watch something" compatible.
Nice job on the video to you and the team, and congrats on the 1.0 launch!
From the YT page:
"Bun 1.0 is here!
Bun is an all-in-one JavaScript runtime & toolkit designed for speed, complete with a bundler, test runner, and Node.js-compatible package manager."
There! Add a link or 2 to project page, status, FAQ or whatever, done.
Video is good for explaining some concepts in a visual way, or the cream on top for explaining other stuff.
The text change log will appear with the release, which is currently held back due to what sounds like a build issue.
- Workspace: check
- Bundling: check
- Minifying (server, browser): check
- Node runtime: check
- Browser runtime: check
- Loaders (assets, .node, .wasm): check
- Hot reload: check
It's probably worth trying to replace webpack + pnpm.
EDIT: Question: it is on roadmap to store downloaded file globally, like pnpm and maven do? This would be awesome!
Off-topic: Which equipment was used for the video?
I do wish the "each speaker holds the bun while talking" bit was kept the whole way through
On my small website, Bun is twice as fast pnpm which is already much faster than yarn which is much faster than npm.
Now that 1.0 is out I will give it another try. I could see myself migrating to it within a year if Bun’s performance and developer usability claims are justified
The two camera thing is a classic trick that lets you add some visual interest. Basically you're cutting between two angles. And you can only be looking directly at one camera at a time so you won't be looking into the lens for one of the two shots.
Oh wow, that sounds amazing. I would love an easy to way to use Rust crates from JS projects.
EDIT: I haven't been able to find that plugin or how it works, though. Looks like it's based on the esbuild pluing API?
It'd be really convenient to have a decently fast backend runtime, but more expressive than Go and without the hassle of NodeJS
Clojure is fairly interesting too, and it uses a similar async model to go.
I think the announcement video was a bit forced/awkward, obviously reading a prompt, professionally produced but maybe not the most efficient way to promote this tool for this team.