Live data from Hacker News

Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc

twitter.com

31–40 of 754 posts

Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc

#32

Earlier quoted context omitted.

Isn’t just one guy?

Exactly

This is exactly how Anthropic will market this rewrite towards companies thinking about doing more layoffs.

1 person did a rust rewrite that took 6 days that would have taken hundreds of engineers more than a year to do.

Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc

#33

6 days of work to do this. Even if it doesn't end up becoming meaningful, it shows just how tokens and work done will be linked now and in the future. It's going to be hard to compete with someone or a company that has more compute. They will just be able to do things you can't.

I can't help but wonder what this cost in USD assuming you paid standard rates from Anthropic. Can someone even ballpark the price?

Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc

#34
I just want to comment that I think it's a good change if we look past the AI involvement.

Bun has had an extremely high amount of crashes/memory bugs due to them using Zig, unlike Deno which is Rust.

Of course, if Bun's Rust port has tons of `unsafe`, it won't magically solve them all, but it'll still get better

Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc

#35

I just want to comment that I think it's a good change if we look past the AI involvement. Bun has had an extremely high amount of crashes/memory bugs due to them using Zig, unlike Deno which is Rust. Of course, if Bun's Rust port has tons of `unsafe`, it won't magically solve them all, but it'll still get better

And they're clearly marked as `unsafe`, so easy to find, which gives them a nice list of issues to address.

Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc

#37

I just want to comment that I think it's a good change if we look past the AI involvement. Bun has had an extremely high amount of crashes/memory bugs due to them using Zig, unlike Deno which is Rust. Of course, if Bun's Rust port has tons of `unsafe`, it won't magically solve them all, but it'll still get better

> Bun has had an extremely high amount of crashes/memory bugs

Any stats/source? Not that I think it's false

> and the ugly parts look uglier (unsafe) which encourages refactoring.

Looks like Bun owes that to itself to some extent, not solely because of the language

Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc

#38
From 4 days ago: https://news.ycombinator.com/item?id=48019226

  > I work on Bun and this is my branch
  >
  > This whole thread is an overreaction. 302 comments about code that does not work. We haven’t committed to rewriting. There’s a very high chance all this code gets thrown out completely.
  >
  > I’m curious to see what a working version of this looks, what it feels like, how it performs and if/how hard it’d be to get it to pass Bun’s test suite and be maintainable. I’d like to be able to compare a viable Rust version and a Zig version side by side.

Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc

#39

From 4 days ago: https://news.ycombinator.com/item?id=48019226 > I work on Bun and this is my branch > > This whole thread is an overreaction. 302 comments about code that does not work. We haven’t committed to rewriting. There’s a very high chance all this code gets thrown out completely. > > I’m curious to see what a working version of this looks, what it feels like, how it performs and if/how hard it’d be to get i…

Looks like he did the maintainability performance and test suite checks and made his decision :)
Post reply on HN