Hacker Newsnew | past | comments | ask | show | jobs | submit | fcarraldo's commentslogin

Contributors and maintainers will also be easier to find in Rust than Zig.

Zig is a great language and I want to see it succeed, but this is a prudent move for Bun.


I wouldn't call any port "prudent". In general, taking mature software and doing any major rewrite is one of the riskiest thing you can do. It is a large scale attempt to fix what isn't broken.

Sometimes it is worth it, but it may also kill projects. A risky move. And AI doesn't help its cause. AI can save a lot of time when making ports, it is one of the things it does best, but it doesn't protect from regressions.

I am not using Bun in production, but if I was, I would consider it a risk. Not because of Rust vs Zig, but for changing things that work.


This is likely irrelevant given bun has stopped taking community PR's entirely and Jarred is pitching that human contributors should be banned.

There is like 1,713 open PR's on the Bun repo. I'm assuming all are from Claude or robobun?. I guess this gives us an insight on what the claude-code workflow look likes. Crazy times.

https://lobste.rs/s/otxkjw/bun_js_runtime_is_being_vibe_port...

> The regular pull requests for bun are wild too: https://github.com/oven-sh/bun/pulls?q=is%3Apr+

> Most are created autonomously by @robobun, checked for duplicates with a GitHub action (powered by Claude), reviewed by @coderabbitai and @claude. Meanwhile the CI is broken and @robobun finally closes a portion of its own PRs because they duplicate other PRs it has written. (Merging into main is still done by a human.)


Where is a source for either of these extraordinary claims?


Wow, didn't realize how bad the situation was. Completely lost any respect and trust I had in the Bun project and its lead dev.

What a weird take. I do a ton of OSS, and the act of writing code is what makes it fun for me. If I were forced to use an LLM to write all my OSS code, I would just not do it anymore.

he clearly works for an LLM provider now

The gp's interpretation of that tweet is such a completely incorrect reading as to make one think it's likely disingenuous.

> I expect OSS to go the opposite direction: no human contribution allowed.

How is it an incorrect interpretation? Jared is indeed pitching/suggesting/predicting that human contribution will not be allowed in the near future, i.e. banned.


"Pitching" generally means that the person making the pitch is endorsing and pushing for it. (This might also be a regional word meaning/usage difference type thing.)

The person upthread should have said "predicting".


A prediction is not a policy.

When you use the word “allowed” it becomes a policy.

No, it doesn't.

What would be required for you to see it as a policy?

Jesus christ, This is the thing which should be talked about more. What an abysmally bad take. This actually makes me worry about the faith of bun more than any other thing discussed here.

Why didn't they use Rust in the first place then ? All this was true before AI

Anthropic only acquired Bun in December of last year. They weren't there in the first place, to make the decision.

Zig has some advantages for such projects, especially in the beginning.

Among them:

- much easier to iterate on (due to the language being simpler and compilation much faster)

- native C/C++ interops (Zig can compile C and C++ and mix it with Zig) which is crucial for a node-replacement runtime that runs an open source JS engine

- fewer dependencies and trivial static linking

I guess that now that they've been acquired by Anthropic there's this combination of having both in-house Rust talent, AI which does better on Rust, and the funding and resources necessary to undertake such a migration.


Also: Anthropic bought Bun to not depend on node.js. But now they are dependent on Zig which is a moving target and is hostile to them because not accepting their contributions.

> But now they are dependent on Zig which [...] is hostile to them because not accepting their contributions

I'm struggling to figure out how to even start interrogating this notion. What does this mean?


I don't think Zig is different enough from rust or any other systems language for it to matter. If you can write rust you can write Zig.

Anthropic makes claude, claude can write Rust like a champ and struggles at Zig. It's a straightforward "training data" argument.

I think there are even longer term plays that Anthropic should be looking at, in this space, but it seems like they've decided rust is the right thing, so fair play. I would be (am!) thinking about making an LLM optimized high level language that you can generate / train on intensively because you control the language spec.


Claude doesn’t write Rust like a champ. It’s still miles ahead at js and python than it is at rust. It can do macros and single file optimizations but its gotten really stuck in type hell and tried to dyn everything on multiple occasions for me.

Claude struggling at Rust: not getting types correct, using the wrong abstractions, not implementing things correctly

Claude struggling at Zig: the above + memory safety issues if you run “fast” mode.

It is generally true that Rust code tends to be written in a way that the compiler catches the issue at compile time. The same is not as true for Zig, Python or JS


As a human occasionally writing Rust I've also frequently got stuck in type hell.

claude does not struggle with zig? not in my hands anyways.

I'm reminded of the old joke "how to shoot yourself in the foot in 25 different languages". The first one was "C - you shoot yourself in the foot." Zig remains very close to that philosophy.

So the difference is not in writing new stuff but in maintaining the existing codebase. Rust's rigidity makes it potentially harder to break stuff compared to Zig's general flexibility. As a project grows and matures, different types of contributors naturally come in and it's unreasonable to expect everyone to learn about historical footguns that may have accumulated.


Oh man. That joke takes me back.

100%. For many people, Bun is the only reason they've even heard of Zig. I'm not in a position to comment intelligently on comparative language features per se, but when it comes to mindshare and community size, Rust is a clear winner.

fwiw before today I'd heard of Zig and not Bun :D

something JS-adjacent could certainly be more known than an obscure language but are that many people using drop-in node replacements?


fwiw I knew about both but I had no idea Bun was written in Zig.

alt runtimes are still pretty niche, but deno and bun do have some degree of adoption. For Bun, the runtime is actually sometimes perceived as unwanted baggage, (eg a consulting client of mine wanted to pursue bun for its build tooling but had no interest in changing the runtime). IMHO, node (with Vite and PNPM) is the right call for the vast majority.

Singapore Air is majority government owned and is closer to having “utility” airlines than not.

Conversely, Air India was majority government owned, did a pretty bad job of it, and is now privately owned.

Yes, Singapore Airline is government owned, but I don't see how it's a utility?

If anything it’s a tool for making people outside of Singapore like/want to do business in Singapore, so if that makes it some twisted kind of utility then I guess anything can be a utility. Not like they have domestic flights.

The OP isn't a good article, but this one is about an entirely different subject?

Ah sorry, it's one of those annoying websites that automatically load another article when you scroll down too far. Updated the link.

True education? What idiot would say yes to this?

Even if you _know_ the debit card transaction is safe, there’s no reason to risk it when a weirdo is filming you with some wild contraption.


> Bitcoin is a technology that will benefit mankind if it reaches global adoption

Citation needed.


Thats my point bro


> The real threat is not security but bad actors copying your code and calling it theirs.

How has this changed?


Bad actors can rewrite it with AI and claim ownership of the result.


> A smart music setlist manager that downloads chord charts, creates spotify playlists, and automatically drafts emails with attachments and practice schedules

This sounds useful!


I know there's no such thing as a unique name anymore, but https://helm.sh/ is rather popular.


> It's surprising to me how much LLM "personality" seems to matter to people, more than actual capability. > I do turn to Anthropic for ideation and non-tech things. But I find little reason to use it over codex for engineering tasks. Sometimes for planning, but even there, 5.4 is more critical of my questionable ideas, and will often come up with simpler ways to do things (especially when prompted), which I appreciate.

Aren't you saying here that the LLM personality matters to you, too? Being critical of you is a personality attribute, not a capabilities one.


Not necessarily. Criticism is the analysis, evaluation, or judgment of the qualities of something. This is a matter of intellectual act. However, you could say that being habitually critical can be partly a result of "personality" or temperament.

(Of course, strictly speaking, LLMs have neither temperament, "personality", nor intellect, but we understand these terms are used in an analogical or figurative fashion.)


I'm sorry, your takeaway from that film was that Sean Penn was the good guy?


This is a pretty obvious misinterpretation. Protagonist bad ≠ antagonist good. This isn't even the law of the excluded middle because there was only ever a statistical relationship between the morality of narrative opponents.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: