Earlier quoted context omitted.
Single compiles for sure. Where Zig is optimizing compilation is in the incremental compiler, which I've seen compile the compiler itself in an instant after a single line change. Of course, that kind of speed is probably not interesting to some people if the AI is writing tons of lines of code before they go to the compilation step.
I found making single line changes in Bun’s zig code led to very long compiles compared to doing the same in Rust code. It was a while ago though and maybe I was doing something wrong.
Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
491–500 of 754 posts
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#492Earlier quoted context omitted.
> Do you scrutinize the rest of your dependencies this way? You don't?
Enough to make judgement calls on them based on the individual Twitter posts of each of their developers? Absolutely not! If I go beyond the initial vetting, that's a minimum of 30+ projects multiplied by however many contributors each. Without even mentioning all of their sub dependencies. It's a pipe dream to think you can ever have a complete picture of the motivations and political machinations of your entire dep…
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#493I 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…
Natural language doesn’t have the precision required for building systems. We already have languages for specifying systems precisely. It’s called “code”…
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#494I 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
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#495Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#496> 99.8% of bun’s pre-existing test suite passes on Linux x64 glibc in the rust rewrite OK, they've got a working prototype, congrats! Now it needs to be put into shape so that all the unsafe blocks are eliminated (maybe with a few tiny exceptions), and the code is turned into maintainable, readable, reasonably idiomatic Rust. I wonder how long is it going to take.
About 2 months, or 60 days, if we go by the old 90/10 rule. Not sure that rule is even applicable anymore, but I don't have a better heuristic to make guesses by either.
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#497Earlier quoted context omitted.
The spice core that ngspice is built off is terrible code. It has a long history going back to 1970s era fortran. Starting fresh is probably preferable
> The spice core that ngspice is built off is terrible code. It has a long history going back to 1970s era fortran. Starting fresh is probably preferable That code is also hyper-optimized for performance . I sincerely doubt you are going to match the performance easily with any random rewrite. Now, if you had a very clear idea of why the code was making assumptions from the 1990s that are no longer valid, then you mi…
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#498Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#499Earlier quoted context omitted.
A few off the top of my head: - Video games - Medical device firmware - Synthesizers - Detailed universe-scale physics simulations - Mars rover control software - The Linux kernel
This list is funny. All of these things existed in pre computer form. A scheduler used to be a person putting punch cards into a machine.
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#500Earlier quoted context omitted.
Why else would one create software, if not to do something that a human does/did?
A few off the top of my head: - Video games - Medical device firmware - Synthesizers - Detailed universe-scale physics simulations - Mars rover control software - The Linux kernel
- Medical device firmware - hardware control layer for medical devices, which are used to aid in medical procedures.
- Synthesizers - help to make music.
- Detailed universe-scale physics simulations - help to make certain physics problems more tractable.
- Mars rover control software - helps to remote control rovers.
- The Linux kernel - control layer that sits between firmware and actual applications, pretty much just a common shared library so apps don't have to each ship with a full stack.
I don't really see your point here. None of these examples counter the argument that software is created to automate human labour as much as is practical.
Video games are an interesting category since they're entirely enabled by software: I can't imagine anyone driving a video game manually (note I don't consider things like Chess, etc software to be video games in this context; more things like FPS, racing, etc). I do remember as a kid I thought that there were actually little people doing the stuff in video games though.