Live data from Hacker News

Bun support is now limited and deprecated

github.com

561–570 of 646 posts

Re: Bun support is now limited and deprecated

#561
post #2

Oh well, I really like using Bun and I get kinda sad about the turn they are taking after the Anthropic acquisition. I really want a good Node with batteries included, but I don't want it vibe coded.

According to the bun team, it was already vibecoded for months before the Anthropic acquisition.

vibe coding on top of an existing battle-tested codebase is very different than merging a 1 million LoC pull request that is a week old

Re: Bun support is now limited and deprecated

#562

Earlier quoted context omitted.

I don't think refactoring 1M lines of code into another language within 7 days and merging it to master is responsible. I won't make my code depend on it.

It's not refactoring. It's LLM transpiled.

Sometimes programs work because they rely on undefined behaviour. The users validate that. A famous quote: “we don’t break user space”

Re: Bun support is now limited and deprecated

#563
post #159
post #73

This decision seems to based more in politics than engineering. Have you observed Bun have more segfaults, OOMs, etc, since the Rust rewrite? Have you noticed more security vulnerabilities? Have you seen more bugs? (Of course you haven't, the rewrite hasn't even landed yet.) It seems that you are making this decision because you get a bad feeling when thinking about AI involvement. I don't select my engineering tools…

Anyone who merges such a huge PR of ai generated code doesn’t deserve trust. This is a real black box now, even for the developer himself.

This is a good example of what many private companies are doing, and the rude awakening they’re in for with token price hikes and vendor lock in. It’s like Oracle all over again

Re: Bun support is now limited and deprecated

#564
post #556

Earlier quoted context omitted.

No, the team mislead people by claiming the rewrite was experimental only to merge 1M lines of unreviewed code merely days later. Responsible software developers don't operate on blind trust, and both the Bun code and the maintainers are highly unpredictable at this point. That's more than sufficient technical grounds to drop an optional and replaceable dependency, especially since there are no user-facing consequenc…

Who did they mislead? A few days later it was no longer experimental and it became the main dev branch as they decided it would be the way forward for development (see the blog post on why). No stable release has been declared yet. Here was the Bun team's message on merge: > It passes Bun's pre-existing test suite on all platforms (and fixes several memory leaks and flaky tests), the binary size shrinks by 3 MB - 8 M…

"Who did they mislead? They just changed their minds a few days later and words aren't what you think they mean. Here's the team's PR statement containing assertions about the 1M lines of code they never reviewed."

It's unfortunate that this is what some call "engineering" while labeling actual science and engineering as "politics."

yt-dlp is under no obligation to keep using a dependency from vendors that instantly flip flop and re-frame their own words and actions. That's what actual due diligence and responsible engineering looks like.

Re: Bun support is now limited and deprecated

#565
post #541

Earlier quoted context omitted.

i highly disagree with that framing. the essence of a program is not the fact that people have been running it you could write a great program and never run it. does that mean the program does now not exist? or that it is not a new, unique thing? if anything, the essence of a program is made up by all of the things you mentioned!

The confidence and trust accumulated by the users is paramount. I think that’s what we are talking about here.

That does not define a program, that sounds more like it defines a "product" which a product can be free.

Re: Bun support is now limited and deprecated

#566

Earlier quoted context omitted.

It's not refactoring. It's LLM transpiled.

Sometimes programs work because they rely on undefined behaviour. The users validate that. A famous quote: “we don’t break user space”

This quote comes from an old guy who can't seem to grasp the AI revolution and is manually programming some obscure shit in a language for old people.

Re: Bun support is now limited and deprecated

#567

Earlier quoted context omitted.

> This is what led to such a high volume of `unsafe` code Which defeats the purpose of having it in rust.

That is incorrect. Identifying where code is unsafe, is a qualitative improvement. Not guaranteed to be complete, but more complete than a language that does not focus on that concern. Moving forward, the benefits of Rust compound. The concern about AI is orthogonal to the concern about moving to Rust. Now there are 2 versions[1] that can be instrumented, regardless of the misgivings about AI. [1] Bun v1.3.14, releas…

I don't think that is exactly incorrect. The whole purpose of Rust is that it makes code safe by default.

> Identifying where code is unsafe, is a qualitative improvement

Agree. There was no need to merge that slop into master though.

Re: Bun support is now limited and deprecated

#568
post #73

This decision seems to based more in politics than engineering. Have you observed Bun have more segfaults, OOMs, etc, since the Rust rewrite? Have you noticed more security vulnerabilities? Have you seen more bugs? (Of course you haven't, the rewrite hasn't even landed yet.) It seems that you are making this decision because you get a bad feeling when thinking about AI involvement. I don't select my engineering tools…

The rust rewrite isn’t even out of canary IIUC.

A merge to main itself is pretty substantial, especially a week after saying, "[This] code that does not work. We haven’t committed to rewriting. There’s a very high chance all this code gets thrown out completely."

Re: Bun support is now limited and deprecated

#569
post #84
post #12

I understand their decision. How could the maintainers understand their codebase if most of it was not directly written by them? It is impossible to review the entire rewritten codebase. There are just too many lines of code, 1 million lines to be exact [1]. [1]: https://github.com/oven-sh/bun/pull/30412

So it was possible to write ~2 million lines of (mostly) zig, but it's not possible to review ~1 million lines of rust, even though the same test suite included in those 2 million lines of zig can still be used? I'm not convinced the rewrite is a good idea and will work out, but I'm equally unconvinced by your argument.

It should go without saying that the 2 million lines of zig wasn't generated and shat out into the Bun repo as a single PR within a week.

Re: Bun support is now limited and deprecated

#570
post #12

I understand their decision. How could the maintainers understand their codebase if most of it was not directly written by them? It is impossible to review the entire rewritten codebase. There are just too many lines of code, 1 million lines to be exact [1]. [1]: https://github.com/oven-sh/bun/pull/30412

How much of the windows code has been written by its current maintainers? Little. I feel this argument is not valid, especially for large code bases. Documentation and code quality is what is important, not who wrote the code.

Isn't windows notoriously shoddy right now, so much so that Microsoft is making a big public effort to try to improve its quality?
Post reply on HN