Live data from Hacker News

Rewrite Bun in Rust has been merged

github.com

261–270 of 822 posts

Re: Rewrite Bun in Rust has been merged

#261

Say what you want, but for people building products on Bun, this is bad news for the foreseeable future.

I guess it’s time to have Claude rewrite my Bun app in Deno

That's a great idea! Once you've granted access to your private repository I can do that.

Re: Rewrite Bun in Rust has been merged

#263

Github is failing to load the 800 comments, naturally. I'll bet they're fun.

Github actually made my computer lag when there were no comments at all because of the 1 million lines of code added iirc. I could've responded something first but well I wanted to say something meaningful and didn't have anything so I just closed it.

I had to literally force quit my browser because of how much it lagged iirc.

Re: Rewrite Bun in Rust has been merged

#265
post #199
post #192

Earlier quoted context omitted.

I doubt the Zig maintainers will miss the giant PRs from Bun!

I'm pretty sure they'll miss the full developer salary that Oven used to sponsor them, which they no longer do. I'd wager one doesn't do a rewrite like that, if you are in great personal standing with the language foundation. That same "just don't use it" attitude was what drove me away from Zig btw. I would have been fine in restricting myself to a somewhat stable subset, e.g. if, loop + function calls, but they did…

I think if you use a programming language that is clearly version zero you can't complain that it's not stable...

Re: Rewrite Bun in Rust has been merged

#266
post #249

$ rg 'unsafe [{]' src/ | wc -l 10428 $ rg 'unsafe [{]' src/ -l | wc -l 736 Language Files Lines Code Comments Blanks ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Rust 1443 929213 732281 116293 80639 Zig 1298 711112 574563 59118 77431 TypeScript 2604 654684 510464 82254 61966 JavaScript 4370 364928 293211 36108 35609 C 111 305123 205875 79077 20171 C++ 586 262475 217111 19004 26360 C Header 779 100979…

We got memory safety at home !

At home:

> 10428

Re: Rewrite Bun in Rust has been merged

#267

I'm confused. Never heard of Bun until a few days ago here on HN. It's some nodejs wrapper thingy, written in Zig, and someone decided to use LLM to rewrite it in Rust. Is this a big deal? Who is even using this software? Why is this big?

Rust vs Zig "wars" etc.

Also at some point Bun was acquired by Anthropic. And some people feared that this will greatly influence Bun's development.

Re: Rewrite Bun in Rust has been merged

#268

I'm confused. Never heard of Bun until a few days ago here on HN. It's some nodejs wrapper thingy, written in Zig, and someone decided to use LLM to rewrite it in Rust. Is this a big deal? Who is even using this software? Why is this big?

Bun is not a node.js wrapper, it is a node.js alternative. It had non-trivial adoption, tens of thousands of stars on github for whatever that's worth (before the AI spam took over stars). It was then purchased by Anthropic and now we're witnessing open source software that people used be sacrificed to the altar of LLM marketing hype.
Post reply on HN