logoalt Hacker News

Bun support is now limited and deprecated

217 pointsby tamndtoday at 5:24 PM177 commentsview on HN

Comments

johnfntoday at 7:12 PM

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 because they give me a bad feeling - I select them because they do the thing I want them to. If Bun starts having more bugs and feeling like worse software, I'll stop using it. But I will base that on data -- not a feeling I have. Jarred has done a lot of impressive stuff with Bun, and it seems unlikely he would ship this rewrite if it didn't meet his quality bar - I am willing to see him out here.

show 25 replies
maxlohtoday at 6:35 PM

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

show 7 replies
hootztoday at 6:23 PM

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.

show 4 replies
adamtaylor_13today at 7:19 PM

We desperately need some new terminology to describe using LLMs to support development work. "Vibe code" has a strict definition but no one really cares. I have a really hard time believing that the Rust port was 100% "vibed" the way the original definition was laid out.

It's a big slushy of emotions that I understand (both positive and negative) but it makes it so hard to actually tells what problem someone actually has when they just use "vibe coding" as a general LLM usage slur.

I'm using LLMs to assist my development and I'm measurably (in all the ways we engineers could possibly care about) doing better work faster.

show 2 replies
getcrunktoday at 7:57 PM

It’s not like they are discriminating on someone’s race or religion. If they don’t want a major vibe coded surface, do they even have to defend that? It’s part their “artistic” license as developers.

Or did we forget software inherently is opinionated

show 1 reply
5G_activatedtoday at 8:27 PM

Who was actually using yt-dlp with bun? The primary use is to solve JavaScript challenges sent by YouTube, which uses Deno by default.

To be fair, I'm not quite sure why it would prefer either Deno or Bun when it's far more likely that a user has Node on their system.

tlntoday at 7:13 PM

This is about the rust conversion but that has not been released.

> Due to foreseeable compatibility and security issues

Hmm, Zig bun crashes plenty.

I wish yt-dlp linked to detail on why there are foreseeable compatibility issues. Both projects have test suites, in an ideal world they would allow fast rewrites. Maybe they want to limit inflaming the situation, but if they have spotted some specific issues it would be good to see.

I hope Bun.rs is 1.4 or even 2.0 and not a minor release, with some alpha/beta releases.

apitmantoday at 6:42 PM

Say what you will about Rust vs Zig as languages, the Zig toolchain is definitely the easier of the two to integrate into another project.

show 1 reply
sashank_1509today at 7:26 PM

Has bun really shipped using a million line vibecoded PR. I know they merged it, but merging something in a new dir doesn’t mean anything compared to what code is actually running for customers. It’s crazy if the vibecoded rust version is what’s running for customers and not just some experimental hack.

therepanictoday at 7:35 PM

To be honest, I share primeagen's view that LLMs handle translating code from one language to another quite well. As far as I know, they converted the languages file by file. This is what led to such a high volume of `unsafe` code. Although, in any case let's be honest, this is causing, and will continue to cause, various issues. I find it easier to live with this point of view.

show 1 reply
shartstoday at 8:08 PM

Why even use bun or anything else if everything is getting slapped together with LLMs? May as well use them to build native

insanitybittoday at 7:21 PM

They foresee potential issues in the future, so they deprecate now? I mean, whatever lol do as you like, but that's an odd choice.

cabernaltoday at 6:42 PM

there could be recommended runtimes, but shouldn’t the runtime be user-configurable anyway?

show 2 replies
winridtoday at 7:43 PM

What does this use bun for? I thought this was a python project?

show 2 replies
anthktoday at 8:27 PM

yt-dlp launches propietary software:

https://jxself.org/shifting-the-trap.shtml

You can run a BF and, soon, subleq.

yanis_ttoday at 7:24 PM

Do we know which model was used for the rewrite?

show 1 reply
satvikpendemtoday at 6:33 PM

As long as Deno support is still there I'm not sure why you need anything else. It's not vibe coded slop for one.

show 1 reply
fastballtoday at 6:28 PM

The "to vibe code or not to vibe code" holy war is now in full swing.

show 1 reply
thot_experimenttoday at 6:52 PM

I assume they need to do a bunch of WebAPI bullshit to get around Youtube's draconian policies, but maybe one day https://txikijs.org/ will solve all problems with embedding javascript. I believe, and maybe the strength of my belief will be enough.

xmodemtoday at 7:48 PM

I see a lot of commentators in this thread who are aggressively critical of volunteer maintainers for making a decision about how to maximize the value of the free labor they donate to the world.

And yet none have offered to volunteer their time to maintain a downstream fork or otherwise rectify the perceived problem.

Strange.

the__alchemisttoday at 7:49 PM

Bun alert!

potsandpanstoday at 8:04 PM

Ah yes, more examples of averse behavioral ai syndrome

antonvstoday at 6:23 PM

Reason #2 is purely speculative. It’s disappointing to see technical decisions being made on such grounds.

show 5 replies
draw_downtoday at 6:44 PM

[dead]

meindnochtoday at 7:02 PM

Good news!

mvdtnztoday at 6:31 PM

Wow, bun support was just added in November last year (I think). That's a lot of work to throw away, but you can't argue with their reasoning.

show 1 reply
umvitoday at 6:35 PM

Honestly I hope agentic AI ushers in a new age of minimal-SBOM software. I myself am moving all of my projects towards nearly 100% vanilla where possible. For example, golang. Why use [insert web framework] when you can just use vanilla for 99% of web apps?

There's something really satisfying about a go binary with minimal dependencies running in a busybox docker container.

show 5 replies
muglugtoday at 6:50 PM

This like if BitTorrent cut off Windows support over objections to Microsoft embrace/extend/extinguish. It’s a slightly incoherent position.

show 4 replies
merbtoday at 7:30 PM

Google did something similar with golang. Of course it was a tool based rewrite and they did lots of tests but some bugs still emerged. People should stop being mad about a company that delivers a tool that is about shipping software faster. The world does not resolve around high quality software, the world resolves around things that might need a reboot every other day, that was never touched for over 2 years. Things that somebody did once and it worked but most people do not understand it because of the aweful code. Yes of course we still need high quality code in some parts, but most parts of the world is already running on software that is way worse than modern vibe coded things

show 2 replies