Live data from Hacker News

My thoughts on the Bun Rust rewrite

andrewkelley.me

241–250 of 757 posts

Re: My thoughts on the Bun Rust rewrite

#241
post #223
post #99

Earlier quoted context omitted.

For 99.99% of cases, you're reading and writing this under an operating system whose kernel is written in a language without send/sync, and inside a browser that also largely written in languages without send/sync, because those systems are fundamentally well designed. So instead of fixing the bugs and rethinking the architecture, the author of Bun decided to transpile almost the entire codebase from Zig to Rust with…

Those systems you're alluding to received ungodly amounts of work and resources, vastly more than most projects can ever hope for, and yet they're still full of holes and security exploits. You're unwittingly making a great argument against using C, C++ – or Zig.

What I mentioned is only a tiny part of the entire software, which has been successfully written in C, C++, and now in Zig as well, and is used daily by people around the world.

Re: My thoughts on the Bun Rust rewrite

#242

Earlier quoted context omitted.

Childish or no, anti-AI sentiment is ubiquitous and growing. From a PR perspective there’s a lot to gain in the short term by picking the “anti-AI” lane. And you can always change your mind later.

It's ubiquitous among dinosaurs. Don't worry. They will be left behind.

[flagged]

Re: My thoughts on the Bun Rust rewrite

#243

When I read about the bun rewrite I thought no sh*t, those are the exactly the types of bugs I would expect when doing a line by line rewrite of a program in a GC language to memory managed. I was unimpressed with the engineering from the blog, and I'm not surprised to read andrew say they claimed no fuzz testing. I know someone who interviewed at bun when it was less than 10 people (around 5 he said). Allegedly jare…

I think I'm missing something; neither zig nor rust are GC languages. Did bun originally start off in javascript or something, and the rewrite you're referring to is from JS to zig?

First line of the original article (not including the disclosure)

> Bun started as a line-for-line port of esbuild's JavaScript & TypeScript transpiler from Go to Zig

Then proceeded to talk about use after free bugs, leaks, and other things that wouldn't exist in GC written programs. Ironically, my friend jared lowballed is an expert in C, runtimes and threading

Re: My thoughts on the Bun Rust rewrite

#244

This is unprofessional and embarrassing for Zig. I know very little about Jared but his article yesterday, which I read, seemed appreciative of Zig. I now learn he's donated significant chunks of money to them. This entire article is publicly and personally attacking him for choosing a different product. It's insane to me that Andrew thinks this post will somehow exonerate Zig when it really just makes them look chil…

> It's insane to me that Andrew thinks this post will somehow exonerate Zig when it really just makes them look childish. Antirez made a post equivalent to: you'd be a fool not to use AI to increase test coverage. Zig on the other hand has embarrassingly low test coverage given its adoption and time in development. Their stance on AI is completely childish. They could benefit massively from it, yet refuse to even con…

> Zig on the other hand has embarrassingly low test coverage

And? Why would low test coverage matter. It’s not an indication of project quality nor does a high coverage mean an absence of bugs or errors.

Re: My thoughts on the Bun Rust rewrite

#245

This is unprofessional and embarrassing for Zig. I know very little about Jared but his article yesterday, which I read, seemed appreciative of Zig. I now learn he's donated significant chunks of money to them. This entire article is publicly and personally attacking him for choosing a different product. It's insane to me that Andrew thinks this post will somehow exonerate Zig when it really just makes them look chil…

I agree and I’m confused that some other commenters aren’t seeing it.

> The grapevine was large and healthy and full of juicy grapes, and all those grapes contained the juice of the same message: Jarred was a stinky manager.

> Jarred was already writing slop well before he had access to LLMs.

This isn’t about wanting “sanitized corpo-speak” or something, but I do expect leads of projects to behave like adults and not build arguments on ad-hominem attacks and rumors they supposedly heard.

Address the topic and put forth some arguments. I don’t care to hear your personal beef with someone aired publicly.

Re: My thoughts on the Bun Rust rewrite

#246
post #224

Earlier quoted context omitted.

Do you have bias? I'm not saying I don't have some hidden bias but I have no skin in the game. I don't use Bun or Zig or plan to. My reflection comes after reading Jarred's post yesterday, which I found interesting, and then Andrew's today. I just pasted this article into an LLM to understand the tone and the summary is: > The overall tone is deeply personal, cathartic, biting, and polemical, with flashes of humor an…

Did you have a hard time picking that up from the article itself? I don’t see the point of asking an LLM to tell you what to feel about the article.

I'm rather critical of spamming humans with low effort LLM writing as well, but getting a neutral opinion about a text seems like a decent use tbh - for lack of alternatives because you'd hardly ask a human to do it.

Conventions are still being made, and I think this use might end up being acceptable.

Re: My thoughts on the Bun Rust rewrite

#247

This is unprofessional and embarrassing for Zig. I know very little about Jared but his article yesterday, which I read, seemed appreciative of Zig. I now learn he's donated significant chunks of money to them. This entire article is publicly and personally attacking him for choosing a different product. It's insane to me that Andrew thinks this post will somehow exonerate Zig when it really just makes them look chil…

Totally agree. This article really turned me off of ever using Zig for a project.

Re: My thoughts on the Bun Rust rewrite

#249
post #202

Earlier quoted context omitted.

No, the discussion started with a the article from Bun, stating that rust has some technical advantages for them. The response from the Zig creator is a bunch of personal attacks directed at one guy, like calling him a stinky manager. All of these are fully unrelated to which language is better for Bun. This is like the textbook definition of an ad hominem.

To be pedantic the ad hominem fallacy is about trying to deny an argument by attacking the author, so in a discussion about zig Vs rust if Andrew isn't trying to enter the discussion and just argue "that guy was stinky, glad he is gone" is not really an ad hominem, just not classy let's say.

> if Andrew isn't trying to enter the discussion

But he is. Both in the title, and in later half of the blog post, he directly enters that discussion. I'm not saying an ad hominem argument is always bad, but this clearly is one.

Re: My thoughts on the Bun Rust rewrite

#250
post #82

> Two, I actually don't have any personal criticisms of Jarred That’s quite a statement to make at the end of a post that seems to contain little else…all just thinly veiled. Saying someone has „beginner energy“ but reframing it as a faux positive (this person fails and thus learns) Or saying the grapevine says someone is a „stinky manager“? Basically I’m not saying this person is bad it’s just that I need to bring u…

I'm quite confused by this. Is calling someone a "stinky manager" a personal attack? It's funny that we can't differentiate the person from his "job". I work with some shitty managers, but I don't hold it against them on a personal level...
Post reply on HN