Earlier quoted context omitted.
Probably a very long time ago then. Try again with Zig 0.16. It's amazing how fast recompiles can be.
They can't, because Bun is tied to a fork of Zig 0.14 which is not compatible with regular Zig compiler.
Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
691–700 of 754 posts
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#692Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#693Earlier quoted context omitted.
One should care about tests more than how code was coded. If I had a codebase with lots of tests and asked someone else to rewrite it to another language passing the same test suite, I honestly wouldn't expect a great quality job. I say this because it happened 3 times in the company I work for: we conducted experiments by tasking different companies to rewrite the same code in another language. All of them passed (m…
I have seen, many times, code that has lots of tests but don't work. Why? Some of the patterns that I saw: * The code is only called from tests but never called in production * Tests are not testing the actual application logic, or the logic that matters. In some cases, the tests have nothing to do with the application code at all, because it does not even run any application code. * Tests repeat the same logic as in…
I agree with your point of view in general, but "having tests" doesn't mean "having great tests". If I rewrite my code and give the binary to our clients and they don't see any difference or bug, well, that means the rewrite passed the ultimate test. In fact, the percentage of our clients that care about implementation details (such as PL) is precisely 0%.
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#694Very 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…
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#695Earlier quoted context omitted.
> Basically we are seeing now an "inverse Hofstadter's Law" where doing something with an LLM takes less time thanexpected even when you take into account this law. Even LLMs themselves can't accurately estimate this (though this may be out of distribution stuff)
LLMs have no conception of time, unless you explicitly feed in timestamps to the context
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#696Earlier quoted context omitted.
Powerful people figured out how to make suspicion work for them long ago. You have every right to be unconditionally suspicious, but it’s not a good way of accomplishing any change. Also their feelings are not hurt by what you or I think, they don’t care.
> Also their feelings are not hurt by what you or I think, they don’t care. Definitely not true, they tend to care more than most.
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#697Earlier quoted context omitted.
Powerful people figured out how to make suspicion work for them long ago. You have every right to be unconditionally suspicious, but it’s not a good way of accomplishing any change. Also their feelings are not hurt by what you or I think, they don’t care.
> Also their feelings are not hurt by what you or I think, they don’t care. I would have agreed with this like 15 years ago, but the very existence of Twitter (and the acquisition saga) proves this to not be true.
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#698Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#699Now in Zig, Julia, Nim, Crystal. I just love programming languages. But in all honesty, I don't understand the extremism in Rust engineers that reject any other language.
I feel like one of Rust's defining philosophies is modularity, in the sense that each module should be self-contained, and have clear boundaries. This can come up as an assumption behind their arguments imo.
Re: Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc
#700Earlier quoted context omitted.
> 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. haven't used zig...(only used rust) but zig doesn't solve those problems?
Nope! Zig is like C in this regard. There’s no borrow checker. Managing memory is your responsibility. It gives you a few more tools than C - like a debug allocator, bounds checked array slices and so on. But it’s not a memory safe language like rust.
MSVC has a debug allocator since at least Visual Studio 5.