Live data from Hacker News

Rewrite Bun in Rust has been merged

github.com

761–770 of 822 posts

Re: Rewrite Bun in Rust has been merged

#761
post #231

Earlier quoted context omitted.

Wasn't looking at leaked Claude Code source already enough for the ridicule?

I mean, that's just startup culture shipping half-baked duct-taped "products". Reengineering a well-used open source project… that's proper hubris territory, if you do it poorly enough. It's outside their "zone of absolute terror", to put it in anime references. Any argument against them while inside their domain is countered by their apparent success; as much as it pains me, the shit code did deliver enough. Not so…

Idk, my entire career (15 years) has been startups and I have never shipped stuff that looked like that. We’ve shipped ugly but not that. It’s clear claude code is a vibe coded mess if you look at the source.

Re: Rewrite Bun in Rust has been merged

#762

Earlier quoted context omitted.

It's worth pointing out that "unsafe" in rust is not a very sound concept - it's not like a monad or "function colour" whereby the compiler can say "this code ultimately calls unsafe". It's more like a comment on steroids; you call unsafe in a function, write a comment about it, and no caller of that function would have any idea that it's calling unsafe code.

Yes, the point of unsafe is that you promise it's safe, you promise to preserve the necessary invariants to make it safe to call no matter from where. It was never supposed to "taint" all code that calls it, that would defeat its purpose. It's sound enough, it's just not at all trying to do that.

Yes I understand what they were trying to do and this is the ugly hack they came up with.

I just don't like it. I am not ignorant of their intentions, it just does not work well.

Unsafe code is normal. Trying to hide it is unsound. And I stand by that.

Re: Rewrite Bun in Rust has been merged

#763
Worth mentioning that the whole git history is gone, the Rust code does not have any human crafted history, which entirely defeat its purpose.

Also, with a million line of code unreviewed by humans, there could be some sneaky backdoor in it.

This makes me think that people are actually under-reacting to this Bun rewrite.

Re: Rewrite Bun in Rust has been merged

#765
post #763

Worth mentioning that the whole git history is gone, the Rust code does not have any human crafted history, which entirely defeat its purpose. Also, with a million line of code unreviewed by humans, there could be some sneaky backdoor in it. This makes me think that people are actually under-reacting to this Bun rewrite.

I use bun and never thought human crafted history was its purpose.

Re: Rewrite Bun in Rust has been merged

#766
What I would like to see, is Bun to even further improve all the test that was missing during this Bun Zig to Rust code translation. ( I wouldn't even call it a rewrite ). And additional test during Zig and Rust running parallel in A/B testing.

And then with those tests, ask Claude to translate the Zig Bin to Go and Java again.

Re: Rewrite Bun in Rust has been merged

#767
post #599

Earlier quoted context omitted.

Influencers are getting paid to promote ai for 10s of thousands of USD. This is one the reasons social media has been swamped with it lately.

Yes, some of the latest campaigns: https://www.wired.com/story/super-pac-backed-by-openai-and-p... Anthropic's own talking point guide: https://news.ycombinator.com/item?id=47945021 There were earlier initiatives from the industry. This is just what is in the open and does not even include automated LLM "influencers".

OMG ! I've been dealing with one such AI kool aid nut for 6 months now and I can trace a lot of they've done down to specific pointers from that anthropic "champion" playbook.

Re: Rewrite Bun in Rust has been merged

#768

Earlier quoted context omitted.

I refuse to blindly hate something because someone tells me to with no evidence, if you want to hate me for that, so be it, that sounds like a personal problem.

Show me the incentive and I'll show you the outcome.

Anthropic is unable to contribute to Zig due to new AI policy, Bun has to maintain a fork of Zig, the lead developer decided "what if I try Rust? can the model do this for me in a meaningful way?" is that so hard to believe? I've done it with Claude before this story was blown out of proportion. It's basically one of the strengths of language models. If you frequent any reverse engineering communities, a lot of breakthroughs are coming from people having Claude disassemble things and translate it to either specs of raw source files in a new language, to the point that it compiles.

So from the context of someone who has never done this with Claude, or GPT, or any other model, I guess I could see how this would smell like a marketing stunt, but Anthropic already has marketing videos for this sort of thing on their YouTube as of last year. They have a video of Claude going through legacy COBOL code and modernizing it. Whereas all of you guys are giving me "trust me bro" as your only evidence.

Re: Rewrite Bun in Rust has been merged

#769
post #722

Earlier quoted context omitted.

Judging by most public comments, people are really mediocre at using them. I don't get how it's possible to get such poor results from them.

That's because your usecases were simple and/or small. Otherwise, you would have known. Unless you don't have experience and you believe the whole "You are right! it _is_ a and not b" bs...

Or, perhaps, you are the one who is mistaken and other people ARE having success with large and complex programs?

I am not saying you ARE wrong, but I don’t know how you could be so certain that no one else is having success with complex, AI written, code.

There are well known, established, and respected engineers creating AI projects right now. For example, antirez, the creator of Redis, created the DS4 project. When you see these sorts of projects, do you never think, “Maybe I might be wrong about this.”?

Re: Rewrite Bun in Rust has been merged

#770

Earlier quoted context omitted.

You can just use AI for yourself and see. It isn't some mysterious product that only a few people get to use.

While this is true, it's also true that few people have the budget to spend a bunch of tokens on porting bun over to rust.

I don’t think it would cost a crazy amount of token to port the project. You could probably do it in a few days with a Claude max subscription.
Post reply on HN