Live data from Hacker News

Bun Rust rewrite: "codebase fails basic miri checks, allows for UB in safe rust"

github.com

221–230 of 366 posts

Re: Bun Rust rewrite: "codebase fails basic miri checks, allows for UB in safe rust"

#222
post #65

Earlier quoted context omitted.

Philosophically motivated, sure. In what way is the Zig foundation's AI stance political?

I think that we only see these bans because AI has become such a massive political issue in the last year.

That doesn't pass Occam's razor. The simpler explanation is that the bans exist because people continue to throw slop at open source maintainers, and the maintainers wish to stop such unproductive contributions.

Re: Bun Rust rewrite: "codebase fails basic miri checks, allows for UB in safe rust"

#223

Earlier quoted context omitted.

A quick scan of your comment history suggests that you see one every day ;) And - the number of times I have been grossly downvoted for daring to utter a true word about Rust (or even Rust adjacent) will let you know your non-existent Rust evangelists are indeed the bullies - with one now screaming that he is a victim. If you want definitive proof - look at this sub thread where you're so triggered that people talk a…

My comment history? The very same one that keeps trying to extract out the location of those supposed Rust zealots and never even getting a single response except yesterday... and the linked comment was pretty mild? But I always get downvoted for having the gall to ask? That comment history? Surely you mistyped that part of your comment with the one I wrote above, right? Understandable. I guess we'll have to agree th…

Just a final post

"No true Scotsman" detected

and

>> Note: I say claimed not as a jab

> Oh, I am sure. Your comment absolutely cannot be mistook for that.

I made an explicit note because I suspected that you were going to take it as such (and, as demonstrated by the sarcasm in your response, you did)

Have a nice day bud - nobody has changed their mind - it's been real.

Re: Bun Rust rewrite: "codebase fails basic miri checks, allows for UB in safe rust"

#224

So Bun saga has been "Zig, let me Ai you" "no" *Ai's Zig fork, suffers from memory bugs* "Well I'm moving!" *Ai's code into Rust, suffers from memory bugs*

Sure. I'm completely unaffiliated and think Zig's AI stance is ridiculous & politically-motivated and a port is absolutely justified if they will not budge. Apparently I am deeply in the minority.

what is a politically motivated AI stance?

Re: Bun Rust rewrite: "codebase fails basic miri checks, allows for UB in safe rust"

#226

Earlier quoted context omitted.

My comment history? The very same one that keeps trying to extract out the location of those supposed Rust zealots and never even getting a single response except yesterday... and the linked comment was pretty mild? But I always get downvoted for having the gall to ask? That comment history? Surely you mistyped that part of your comment with the one I wrote above, right? Understandable. I guess we'll have to agree th…

Just a final post "No true Scotsman" detected and >> Note: I say claimed not as a jab > Oh, I am sure. Your comment absolutely cannot be mistook for that. I made an explicit note because I suspected that you were going to take it as such (and, as demonstrated by the sarcasm in your response, you did) Have a nice day bud - nobody has changed their mind - it's been real.

You are reaching and trying too hard to find bogeymen where they don't exist, that's my conclusion.

Be more awesome, dude. :)

Re: Bun Rust rewrite: "codebase fails basic miri checks, allows for UB in safe rust"

#227
post #140

> Please consider not vibe coding rust as AIs are not good at writing Rust and also hire a real rust dev Isn't the whole point of AI companies using Rust that it's explicit, safe, and AIs are fairly good at writing it?

AI is not good at writing Rust. The ways in which it is bad vary from writing code that just looks off to actually not working. I do not use unsafe frequently so cannot comment on this particular scenario but I have seen similar stuff often, most Rust code that I read from AIs has at least one or two issues.

In particular, if you have a situation that requires any kind of conceptual understanding then AI will likely have issues. Sync blocking async is the classic example. My theory is that humans make this worse because they will often prompt in a certain direction and AI will faithfully build the footgun.

Re: Bun Rust rewrite: "codebase fails basic miri checks, allows for UB in safe rust"

#228

Earlier quoted context omitted.

I thought you were going to call out the problem in the other direction: There has not been a "big, flashy announcement" because the port is a work in progress. It's not done or released. The only big flashy announcements I see are these drive-by dunk attempts on the work in progress code combined with attempts to imply that they said it was done or perfect. The rewrite was a code translation meant to be a starting p…

strongly agreed, all of the flashiness is coming from the detractors. the port itself has been quite lowkey

Bun being a high profile project, that has had visible conflicts with Zig over AI contributions, and was recently purchased by Anthropic, is naturally going to make something like this big and flashy regardless of the author's intentions.

Re: Bun Rust rewrite: "codebase fails basic miri checks, allows for UB in safe rust"

#229
Here's the thing:

I was first interested in Bun because it was written in Zig. I was interested in Zig because I respected Andrew Kelley's decision-making, and his taste matched my own.

I got really excited about Bun for many reasons after that, but they essentially came down to a similar root: the decisions were ones that I respected and would probably have made myself if I had thought of them.

I was a little concerned when Bun was acquired by Anthropic, but forced myself to remain cautiously optimistic.

This behavior, though, is exactly the sort of decision-making that I don't respect. I've got nothing against Rust, but if this is how Anthropic is managing Bun, I can no longer bet on it being a reliable part of my toolkit. It isn't just the code, it's the thought behind it that I have to trust.

I was so excited by Bun for many of the use-cases I have, but this just turns me off completely. This looks like an Anthropic internal-only tool, based on the behavior.

Post reply on HN