Live data from Hacker News

Bun 1.4 Rust rewrite is not looking good?

tipiirai.com

11–20 of 153 posts

Re: Bun 1.4 Rust rewrite is not looking good?

#11
This reads as another weirdly personal attack against Jarred for slighting a technology stack the author prefers, citing the even weirder personal attack against Jarred written by Andrew Kelley as the sole source to justify their "biggest worry", code quality.

Idk why people have become so invested in this.

Re: Bun 1.4 Rust rewrite is not looking good?

#12
post #6
post #4

> The last three months have not looked good for Bun. Apart from pro-AI or anti-AI posturing how have the last few months not looked good for Bun, exactly? I use it daily and I've seen basically zero regressions. I get it, you don't like AI or you like Zig over Rust, or whatever. I just haven't seen any serious argument that Bun has somehow become worse software. > The project has over 5k open pull requests, which is…

Unused code is one issue. A project called Buz[1] found over 11,000 lines of dead code from the Rust port. [1]: https://github.com/jazzzooo/buz

First of all, I'd need to see a diff on that. It's insane to make that kind of claim without backing it up. Second of all, dead code (as in truly dead code: like an if statement that is guaranteed to never be true), is optimized away by the compiler. So even if we had all this dead code, it is not an issue that would ever impact the final product. Third of all, the Bun runtime consists of over a million lines of code, so that figure (again, even if true) is insignificant.

Re: Bun 1.4 Rust rewrite is not looking good?

#14
post #6
post #4

> The last three months have not looked good for Bun. Apart from pro-AI or anti-AI posturing how have the last few months not looked good for Bun, exactly? I use it daily and I've seen basically zero regressions. I get it, you don't like AI or you like Zig over Rust, or whatever. I just haven't seen any serious argument that Bun has somehow become worse software. > The project has over 5k open pull requests, which is…

Unused code is one issue. A project called Buz[1] found over 11,000 lines of dead code from the Rust port. [1]: https://github.com/jazzzooo/buz

That was 11,000 lines of dead code removed from pre-rust Bun. In a million lines of vibed Rust Bun I'd be astonished if there was a mere 11,000 unused LoC. Noticing unused code isn't a strength of LLMs in my experience.

Re: Bun 1.4 Rust rewrite is not looking good?

#15
post #3

What is the right recommendation at this point for a Node alternative? Deno?

What's wrong with just using Node? It's stable, has a good (and growing) standard library and has enough backing to be self sustaining.

edit: There's also nub which is built on top of Node.js and removes some rough/legacy edges: https://github.com/nubjs/nub

Re: Bun 1.4 Rust rewrite is not looking good?

#16
Yet another clickbait making outrageous assertions. Fwiw I don’t think anyone’s reputation is on the line and so far, you’ve offered only anecdotal evidence at best. Things like this should be backed by stats and community surveys and a whole lot more. I didn’t see anything about number of downloads or any of the usual metrics used to judge software these days

Your whole scientific endeavor in this seemed to thrive on the rock solid foundation of tweets.

And all those referencing of the Kelly post makes this even more of a clickbait. All you had was to put all the ingredients of a post that will draw the crowd but offer very little on the subject matter it purported to discuss

Re: Bun 1.4 Rust rewrite is not looking good?

#18
post #6

Earlier quoted context omitted.

Unused code is one issue. A project called Buz[1] found over 11,000 lines of dead code from the Rust port. [1]: https://github.com/jazzzooo/buz

11k out of a million. I wish I had a project under 1% of "dead code".

there are linters that check for dead code (depending on your language / ecosystem), it should always be 0%

Re: Bun 1.4 Rust rewrite is not looking good?

#20
Counterpoint:

> Our conclusion is deliberately modest: under the conditions Prisma Compute cares about, the Rust rewrite behaved better than the stable release we had been testing. That was enough to change what we shipped.

https://www.prisma.io/blog/bun-rust-rewrite-prisma-compute

Post reply on HN