Live data from Hacker News

Electrobun 2.0 will be decoupled from Bun due to the Rust rewrite

twitter.com

71–80 of 188 posts

Re: Electrobun 2.0 will be decoupled from Bun due to the Rust rewrite

#71

Earlier quoted context omitted.

Mist of human written codebases are unusable for llm dev by that definition.

Turns out that if they're unusable by LLMs they're likely unusable by human devs. If you follow sane clean coding principles (like not having godclasses) it turns out coding agents (and humans!) can understand and navigate your codebase, especially if you use recognizable patterns, even with very light documentation.

One of these days you’ll learn about “enterprise” code

Re: Electrobun 2.0 will be decoupled from Bun due to the Rust rewrite

#72

This makes a lot of sense. For example, we (and many others) depend heavily on numpy. It's been around for decades and heavily battle tested. If someone came out with a new version of numpy vibe-code rewritten in a week, with assurances that "all tests pass", do you think we would adopt it? Absolutely not. We would have no confidence that there aren't some latent bugs or that we can fully trust the results. It has no…

>it has to do with being battle tested over time. If a team of humans had rewritten it in a week, I wouldn't trust or use it either.

"it was made in a week" gets repeated a lot on HN, but the PR wasn't a release. They've been working on the rust rewrite for more than a month and it hasn't shipped.

Re: Electrobun 2.0 will be decoupled from Bun due to the Rust rewrite

#73
post #66

Earlier quoted context omitted.

see that's fine with me if they want to take a year or two of human time and do the rewrite properly this is a piece of software with no architecture, and whose owners have no regard or respect for architecture. I can virtually guarantee that on average every bug they fix will create one new bug, because that's what it's like to work on software with no intentional architecture

What are you talking about?? Bun in Rust is a port, almost exactly the same code base on a different syntax. The architecture did not change at all. Amazing how people comment without even knowing what they are talking about.

Very amazing indeed. Here you are making bold assumptions about a huge pile of code not a single human being has ever read in any meaningful amount.

Re: Electrobun 2.0 will be decoupled from Bun due to the Rust rewrite

#74
post #38

Earlier quoted context omitted.

What? Why? Git has branches...

They're two completely different codebases... even if they are 100% feature parity, it's 100% different code. They should absolutely be separate from each other, with different issues lists. Clean separation of two different codebases isn't a strange concept...

Its not 100% different code though. Docs, build instructions, C++, Typescript...

The issues should absolutely be kept. The rewrite was file by file translation so logic bugs would remain. It's valuable to ensure the memory bugs are in fact fixed. Starting the issues from nothing does not make any sense to me.

Re: Electrobun 2.0 will be decoupled from Bun due to the Rust rewrite

#76
post #59

Earlier quoted context omitted.

This is a very uncharitable interpretation of the twitter post: "It’s a combination of anthropic’s stance of not doing human reviews or any kind of rational roll out and stabilization." They mention nothing about agents being used, rather focus on humans in the review cycle and some sort of gated roll-out process. Why we would bin these practices in the name of a faster release cycle is an important question & debate…

I kind of agree, but it goes both ways. Has Jarred said that there was no review? I know that he stated that rust bun passes tests. Now, I don't know the amount or quantity of coverage, but as a thought experiment, let's assume they are good. What does that count for?

[deleted]

Re: Electrobun 2.0 will be decoupled from Bun due to the Rust rewrite

#77

Earlier quoted context omitted.

[flagged]

To upper-middle class people, their job is a religion. Investing in a programming language is a decision to gamble thousands of hours of your life for a programmer. At some point of projects shifting away from your language, your mortgage and your children's tuition will be affected.

I’m so glad as a Python developer none of this religious bullshit enters into the equation. Exactly why I left Scala behind.

Re: Electrobun 2.0 will be decoupled from Bun due to the Rust rewrite

#78

I have to say, this whole saga is extremely interesting. Not just from a popcorn-enjoyer's point of view, but as a bit of a bell weather for 2026 software dev.

What's funnier to me is none of them seem to want to abandon npm which keeps getting exploited and hacked. NPM has been the source of just how many industry wide hacks? Three major ones, and a massive supply-chain industry wide campaign against npm. But yeah, bun is the real concern here. I think we need to smell the coffee and review npm and scrutinize it because it is getting dangerously out of hand.

Also Rubygems, Packagist, PyPi

Re: Electrobun 2.0 will be decoupled from Bun due to the Rust rewrite

#79

Earlier quoted context omitted.

Turns out that if they're unusable by LLMs they're likely unusable by human devs. If you follow sane clean coding principles (like not having godclasses) it turns out coding agents (and humans!) can understand and navigate your codebase, especially if you use recognizable patterns, even with very light documentation.

One of these days you’ll learn about “enterprise” code

I have seen good enterprise code and bad enterprise code. Clean Code suggests progressive rewriting of bad code.

When you touch a file you have an opportunity for code clean up, add unit tests to ensure your changes break nothing, and refine the code.

Post reply on HN