Earlier quoted context omitted.
Isn't b it same to emit doubts that the resources required to find and access webpages or use a GPS is causing at scale the same ecological impact as everyone selling the world by the token. Though that might be wrong, of course, then doubts should be addressed with proper reasoning, not aggressive rejection which would be a call to run with a blind fold. Having people working together at some goal is not not going t…
I'm rejecting the pedantry of the premise altogether. YOU don't know the sources of energy used for the data centers in question... you aren't responsible and in a position to change anything... you are making statements to a negative assumption from the start and in such a hostile manner that any reasonable person would probably just ignore you. (I'm not always the most reasonable person) As for social structures in…
Zig → Rust porting guide
571–580 of 592 posts
Re: Zig → Rust porting guide
#572Re: Zig → Rust porting guide
#573This is a huge loss for the zig language and community. As a fan of the language, I hope it leads to some reflection on things that might need to change moving forward.
Nah, let the Zig foundation cook. Both their AI policy and their rejection of Bun's performance PR were level-headed and well-reasoned. And the link seems more like a proof-of-concept than anything else. It's true corporate sponsors are a big help with language development, but not at the expense of conceptual integrity.
Re: Zig → Rust porting guide
#574Earlier quoted context omitted.
It only becomes your problem if you choose it to be your problem.
That is not how these things usually work.
You can delete your social media accounts and just keep working on what you want to, for one. Nobody is forcing you to use social media.
Re: Zig → Rust porting guide
#575April 26th - Bun announces they used AI to fork Zig so they could make an optimization for a 4x improvement April 27th - Zig contributor mlugg clarifies why the specific optimizations Bun did were ill advised and wouldn't have been accepted in Zig, regardless of AI use [1] May 4 - Bun is looking into Rust as an alternative. This, to me, seems like total whiplash. Has anyone at Bun made a statement on why they're maki…
Zig is a pre 1.0 language, subject to many breaking changes and has thousands of (stranded) issues on its GitHub. It was always a risky proposition to use Zig, unless those persons were philosophically committed to help the language develop or die-hard fans. If not, them jumping to some other language, should not be so big of a surprise. They may come to the conclusion that Zig is incapable of delivering on its promi…
Sure, but what you're suggesting is not related to the timeline I gave. They did not determine Zig was deficient in some way. They tried to get a cheap gain, and the gain breaks parts of Zig and they didn't even realize it, and it was worse than the gain already available in Zig. That seems less like they've made a pragmatic choice about speed and more like they are doing headline based development.
What you write makes it sound like there's a pragmatic process being followed that only you are privy to, and I'd like to know what it is. Zig may be inappropriate for Bun after all, but this makes it look like they don't understand what they are doing, and the agentic coding doesn't help.
Re: Zig → Rust porting guide
#576Earlier quoted context omitted.
That is not how these things usually work.
Exactly. Usually is most people. You can choose to deviate. You can delete your social media accounts and just keep working on what you want to, for one. Nobody is forcing you to use social media.
That said, I did also walk away from most mainstream platforms already, so it's not like I disapprove of the message necessarily. I did find it regrettable that the calculus worked out that way though, and I don't find it reasonable to deny that there is / was a calculus. You do give up on things that are not just the assholes. I'd definitely classify that as a force.
But maybe I'm just missing that this was supposed to be inspirational rather than literal, and mistook your words. I don't know.
Re: Zig → Rust porting guide
#577Why not rewrite claude-code in Rust? So, Anthropic acquires Bun team because claude-code uses Bun. They port Bun from Zig to Rust presumably because Rust "is better" (imagine big air quotes here). Again presumably, they want to make claude-code "better". Why make it so complicated? With all the power of LLMs they have, surely they can make claude-code the best possible by writting it in Rust directly.
Because afaik claude code is react rendered as TUI. They must really want react. I guess that happens to ones brain on too much ai
Re: Zig → Rust porting guide
#578I 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 co…
Re: Zig → Rust porting guide
#579Earlier quoted context omitted.
Zig is a pre 1.0 language, subject to many breaking changes and has thousands of (stranded) issues on its GitHub. It was always a risky proposition to use Zig, unless those persons were philosophically committed to help the language develop or die-hard fans. If not, them jumping to some other language, should not be so big of a surprise. They may come to the conclusion that Zig is incapable of delivering on its promi…
> They may come to the conclusion that Zig is incapable of delivering on its promises or is deficient at satisfying their requirements Sure, but what you're suggesting is not related to the timeline I gave. They did not determine Zig was deficient in some way. They tried to get a cheap gain, and the gain breaks parts of Zig and they didn't even realize it, and it was worse than the gain already available in Zig. That…
Unless team Bun had some type of philosophical or financial allegiance to Zig, which they appear not to, it shouldn't be surprising that they jumped to some other language (Rust in this case).
> this makes it look like they don't understand what they are doing
Think it's more a matter of Zig not being able to deliver nor meet their requirements. That they may have got tired of Zig, so felt it was time to switch to something else, is their prerogative. Especially with having near unlimited tokens to blow.
Re: Zig → Rust porting guide
#580I 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 co…
You can view it as an overreaction, but also as a sign that your work is significant. It impressed some, and scared others. In any case, you made something interesting.