Obviously there is a huge trend of "rewrite X in Rust". I understand why, Rust is a huge improvement in safety and speed. My question is, to people even older than me (and I'm certainly not young), does anyone remember this much enthusiasm about people rewriting C code into (C++/Java/Whatever was new and hot)? Because I don't, but maybe I missed it.
Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
351–360 of 754 posts
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#352Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#353Earlier quoted context omitted.
https://worldpopulationreview.com/country-rankings/cost-of-e... Electricity looks pretty even. Higher in Europe but they can afford that.
Due to purchasing power parity, it is actually much hhigher in poorer countries, in that they are absolutely still asking the have nots.
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#354Earlier quoted context omitted.
you know this whole exercise is both a marketing exercise and a way to make noise. would the world come to a standstill tomorrow if every Bun instance out there ran on Node.js ? they know their A.I can't sell without the noise that it's now on the edge of the frontier. this is hype. zig adopting a strict 'no LLM' policy affects the LLM vendors.
I don’t think the Zig project adopting a strict ‘no LLM’ policy affects the LLM vendors at all. How many developers are working on the Zig project itself that will (maybe) now not buy a Claude subscription? I can buy that this is a marketing stunt, but nobody at the top cares if a relatively small open source project doesn’t allow AI contributions.
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#355Earlier quoted context omitted.
Rust is really fun to work with and the compiler is great, just make sure the rewrite takes compile times into account since larger projects often have to be organized in a way that makes compilation reasonably fast.
In my experience Bun in Zig compiles more slowly than Deno in Rust.
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#356I think the industry is moving to English as the programming language, and specifications-context-tdd as the framework for building software. Many find it distasteful, and many finding liberating. I think it's broadly correlates with how they feel about expressing themselves in english vs say C++. As a side question, is there anyone who's using LLMs primarily in non-english mode to program? I suspect there's quite a…
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#357will this mean opencode is finally portable?
Also worth noting that opentui is... Zig!
Very unclear what it's going to take to get this reviewed and shipped, but some very high potential. I've seen some other changes going by in opencode for node.js compatibility; I'm not sure what besides the tui has Ffi needs that might be gating; maybe nothing!
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#358Earlier quoted context omitted.
> Pretty much any cognitive thing we do manually could be done in software. Yes, although I suggest being careful with that kind of thinking. https://www.orwell.ru/library/novels/The_Road_to_Wigan_Pier/...
Ooh, I hadn't read that one, have put on my list. I couldn't read the page properly because ads keep popping up and making the page jump around... but it seems the linked section was be about displacement of workers? If so, that's always been true of all technology, but that's less a problem with technology and more with the social system it is applied in. I just posted this comment elsewhere that may be relevant: ht…
Try reading it here: https://www.george-orwell.org/The_Road_to_Wigan_Pier/11.html
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#359Just a cautionary case of porting to Rust using AI https://blog.katanaquant.com/p/your-llm-doesnt-write-correct...
Also passing tests doesn't mean something works. Claude code C compiler passed 100% of gcc tests and couldn't even run a hello world...
The main problem I think that it was extremely slow.
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#360What does this mean for Zig? Few big popular projects use Zig, if they start to move away from it, what Zig's future will look like?
I think the issue is that Zig lost their biggest project, which was a posterboy project for real uses of Zig. Worse, the project felt like Zig wasn't meeting their needs, to the point they abandoned Zig and rewrote their entire project in a different language. Really bad signal for anyone thinking of using Zig for a big project. It is still in beta, but has there been any situation like this, where a upcoming program…
But Bun has open issues and bugs. The test suite doesn't tell us whether it has introduced many new bugs, solved existing ones the test suite doesn't catch, or anything else. Not to mention, the rewrite is 960K lines that nobody understands. How long will it take for the Rust version to be better, and be understood as well as its current maintainers understand the Zig version?
Having a project consider a rewrite isn't so big a deal. Zig has been designed from the ground up with a vision, and isn't worried about taking a while to create a stable API to achieve that vision. The self-hosted backend shows how incredibly fast incremental compilation is when the language is built for it ground-up. Compared to other languages that implement weaker forms of incremental compilation it isn't even close.
I don't think the Zig team is concerned at all.