What 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?
Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
161–170 of 754 posts
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#162I 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
Is your claim that using Zig ends in an "extremely high amount of crashes/memory bugs?" Wouldn't that mean that it isn't even feasible to make high-quality software with such a tool? There is a lot of quality stuff made with C/C++, so what is Zig doing wrong?
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#163Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#164Very impressive that they could do this so quickly because I have been on a similar project (porting TypeScript to Rust) for 5 months. But I guess I don't have access to Mythos and unlimited tokens. I'm also close to 100% pass rate. 99.6% at the time of writing. https://tsz.dev Rust is perfect for writing all of code using LLM. It's strict type system makes is less likely to make very dumb mistakes that other languag…
[flagged]
Any sources to back this up?
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#165(in a VAE-ish way, kl div on the embeddings?)
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#166would be fun to do zig -> rust -> zig and to measure the delta (in a VAE-ish way, kl div on the embeddings?)
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#167Earlier quoted context omitted.
cargo check reported over 16,000 compiler errors when I wrote that message. It could not print a version number or run JavaScript. I didn’t expect it to work this quickly and I also didn’t expect the performance to be as competitive. There’ll be a blog post with more details.
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.
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#168Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#169Earlier quoted context omitted.
To demonstrate engineers may not be as skilled and knowledgeable as they appear. To make such a comment then turn around and make an announcement days later indicates that the engineers are not skilled in the tools they’re using or even possibly the domain they’re working in.
I totally disagree with this! I think it's very important for experts to be able to adapt to their opinions based on evidence.
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#170Earlier quoted context omitted.
> 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
FTA: > why: I am so tired of worrying about & spending lots of time fixing memory leaks and crashes and stability issues. it would be so nice if the language provided more powerful tools for preventing these things. Not a hard number obviously but a clear indication those issues exist.
With unlimited tokens make it a lint rule or auto formatter.