Live data from Hacker News

Rewrite Bun in Rust has been merged

github.com

801–810 of 822 posts

Re: Rewrite Bun in Rust has been merged

#802

Earlier quoted context omitted.

Maybe it might be easier to understand if I was a really terrible engineer. AI gives me 750k LoC PR that's mostly broken and unuseable on Monday. AI then fixing it by adding another 250k LoC, is not going to convince me, a competent maintainer of a major Js runtime with years of contributions, plenty of downstream dependents, and an understanding of the AI zeitgeist... to merge it all in by the next Wednesday

>Maybe it might be easier to understand if I was a really terrible engineer. Yes yes I'm sure Jarred is a really terrible engineer. Yawn. >AI then fixing it by adding another 250k LoC, is not going to convince me, a competent maintainer of a major Js runtime with years of contributions, plenty of downstream dependents, and an understanding of the AI zeitgeist... to merge it all in by the next Wednesday But you're not…

The fact so many people can tell these actions don't meet the bar of a competent maintainer is... not a flex.

And I didn't realize I was talking to a cheerleader the whole time: I guess I'll defer to you on if Jarred is consistently a terrible engineer, or is just being a terrible engineer this one time.

Re: Rewrite Bun in Rust has been merged

#804

Earlier quoted context omitted.

so...don't be convinced? Use Node if you prefer Node's governance style. Or Deno? If they "depend" on people using their product, then surely all their paying customers will be happy to pay them whatever it costs to maintain the Zig-version-Bun that matters so dearly to them. They will see the folly of this rewrite and follow the money back to Zig.

> so...don't be convinced? Use Node if you prefer Node's governance style. Or Deno? This is a thread full of people saying they aren't convinced and would prefer to use Node/Deno, and that was enough for you to call them entitled and shame them. Your comment doesn't really read like a FOSS advocate, it reads like you're running interference. Whether you like it or not, Bun actually does care about carving out an audi…

I'm not a "FOSS advocate". Honestly, I'm a believer in free software and strong copyleft licenses. Companies should be made to give back to the commons they so cavalierly strip mine. You will never gain my sympathy whining about oh no won't someone think of the poor profitmaking enterprises that depend on your free gifts.

There is a way to obtain software that comes with guaranteed stability and support and it's called a paid contract.

Re: Rewrite Bun in Rust has been merged

#805
post #677

I hate to say this, but this reeks of "We're owned by Anthropic now and we were put to task to prove Claude Opus as the ultimate AI model, so we were forced to do a full port of something millions of developers rely on to Rust in record time. Just ignore the slop and unsafe statements." (sweeps the broom) This is nothing more than a marketing stunt from Anthropic. Nothing to see here.

> millions of developers Try a few thousands.

(This man hasn't seen a hyperbolic exaggeration before)

It's alright, I forgive you :D

In truth though, the repo is approaching 100k stars and bun has over 7 million monthly downloads. My point still stands.

Re: Rewrite Bun in Rust has been merged

#806
post #460
post #252

I have full faith, it's the same really smart people that built bun (Jarred and team) that have spearheaded this and are running it. So I have no reason to believe that this was done carelessly. That said, I'm still shocked and amazed that something this big is possible these days. But as we've seen multiple times now, one of the most important things your codebase can have is a solid test suite. I will continue to u…

Doesn't doing this in the matter of a week or so, by definition mean it was done carelessly? How could it be possible to test such a complicated piece of software, and review such a large amount of code in such a small timeframe? Spoiler, it's not. They're merging slop.

It would mean it was done carelessly if it was done by a human in a week. Or if the test suite was sloppy. But it was done by an AI in a week.

We have to change our perception of time with AI. An AI can read war and peace in half a second.

Re: Rewrite Bun in Rust has been merged

#807
post #690

Earlier quoted context omitted.

Bun's rise over Deno is honestly shocking. One man's project that went viral because of some very misleading benchmarks has evolved into a behemoth in an incredibly short time frame. Some major projects bought into the benchmarks and adopted it for important projects and thus it was thrust into stardom. I was naive enough to believe Deno's ascendance was all but guaranteed with Ryan Dahl's name on it and the direly n…

the problem with Deno is probably because of the lack of npm packages compatibility.

When's the last time you used Deno? I've had more npm packages succeed in Deno than in Bun. npm-compatibility hasn't been a problem for years

Re: Rewrite Bun in Rust has been merged

#808

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.

This is the thing. I do use LLMs (mostly Anthropic). It just does not generate good useable code. I have to review every single change to a higher degree than I would my own code because it likes to slip in hidden nasties. I have to rewrite at least 50% of what it generates. That being said, I know devs who swear that they don’t even write code anymore. Like this rust port. I can’t even fathom blindly merging somethi…

"rewrite 50% of what it generates" See, I'll not claim they write good code. But have you considered maybe your standards are a little bit too high for the tool? I made like 15 tools already using AI for my use, most of them I barely needed to touch in the code. The code is not great, no, but it's not useless and that's what matter for me. You try and iteratively ask for the AI to do things. If you want to ensure a higher degree of quality you can ask for tests and use techniques such as mutation testing to increase coverage, etc.

If you expect the same level of quality as you would write by hand, then you probably is better off... not using those tools. I mean if I was rewriting 50% of the generations I get I would not be using them at all.

Re: Rewrite Bun in Rust has been merged

#809
post #147

Earlier quoted context omitted.

Same, just gonna stick with node. On the other hand, the trial by fire will be interesting to see... long term I can only imagine the kinks will surely work themselves out

Wait till you hear about https://github.com/nodejs/node/pull/61478

I don't think something like this and an entire rewrite of your codebase in 9 (?) days is the same thing.

Re: Rewrite Bun in Rust has been merged

#810
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...

Okay, doubt. What level of complexity you believe this project has? Including the changes that required changing burn-cubecl.

https://github.com/mii-nipah/voxcpm-rs

--- Just to be clear, I'm not saying they don't make mistakes. In fact I constantly scream into the void with the sheer amount of absolute stupidity of those models, however I would never say, using them for what I use, that they can only be used for simple and small use cases.

Post reply on HN