Live data from Hacker News

Rewrite Bun in Rust has been merged

github.com

251–260 of 822 posts

Re: Rewrite Bun in Rust has been merged

#252
I have full faith, it's the same really smart people that built bun (Jarred and team) that have spearheaded this and are running it. So I have no reason to believe that this was done carelessly.

That said, I'm still shocked and amazed that something this big is possible these days. But as we've seen multiple times now, one of the most important things your codebase can have is a solid test suite.

I will continue to use bun, because at the end of the day, it isn't just the technology, but the talent/people behind the technology that ensures that it will be solid.

And since that hasn't changed, I will still trust bun and its direction.

Also, bun is mostly glue code and sort of "user space" libraries (my words) as Jarred has said on X, most of the underlying runtimes like JavascriptCore, etc weren't rewritten.

So this isn't like 100% of what we think of as bun was rewritten. It's more like the scaffolding and harness.

Re: Rewrite Bun in Rust has been merged

#253
> +1009257 -4024

Bun is now over 1M lines of Rust code.

This is approaching the size of the Rust compiler itself; except that BunJs is mostly a JavaScript interpreter wrapper + a reimplementation of the NodeJS library (Rust STD wrapper).

I think BunJS is becoming the canary for software complexity management in the LLM era.

Re: Rewrite Bun in Rust has been merged

#254
post #242

By reading this thread I've learned that, apparently, you are not allowed to rewrite a large piece of software backed by a large test suite in another language within two weeks otherwise you are a witch and need to be burned on a stake. You are also not allowed to move from the PoC phase to lets-do-it phase within a couple of days without being called names. Why are we concerned with speed all of a sudden? Are we in…

The AI polarization is making me sick. Please don't let this style of comment become normalized on HN (and that includes equivalently tribalistic anti-AI comments).

Re: Rewrite Bun in Rust has been merged

#257

About 9 days ago, Jarred wrote that it was far from certain that this would merge and that it was an overreaction. Ironic.

When you don't own your company any more anything you say can be safely ignored. It was obvious that the token spend will need to be justified.

They've been shady since day one, claiming wild performance improvement compared to their competitors and never proving any of them.

Re: Rewrite Bun in Rust has been merged

#258

About 9 days ago, Jarred wrote that it was far from certain that this would merge and that it was an overreaction. Ironic.

[flagged]

I think Jarred's response at the time was intended to cool the ridiculous hype when the branch first appeared!

Re: Rewrite Bun in Rust has been merged

#259
post #242

By reading this thread I've learned that, apparently, you are not allowed to rewrite a large piece of software backed by a large test suite in another language within two weeks otherwise you are a witch and need to be burned on a stake. You are also not allowed to move from the PoC phase to lets-do-it phase within a couple of days without being called names. Why are we concerned with speed all of a sudden? Are we in…

That you're only just "learning" that these things are true is a damning admission. And to fix your bad analogy, it's more like "hey maybe we shouldn't be allowing f1 street races through school zones".

Re: Rewrite Bun in Rust has been merged

#260
I'm confused. Never heard of Bun until a few days ago here on HN. It's some nodejs wrapper thingy, written in Zig, and someone decided to use LLM to rewrite it in Rust. Is this a big deal? Who is even using this software? Why is this big?
Post reply on HN