News for hackers. Stuff that matters.
Re:Static search trees: 40x faster than binary search by Sharlin on Wednesday January 01, 2025 @04:22AM (#42564944)
> Zig enthusiasts

Yeah, don’t you think they might be perhaps just slightly biased? I have some news for you about your average technology enthusiast…

Anyone who claims Zig is going to replace Rust knows nothing about either Zig, Rust, or both. Zig is designed to solve none of the problems that Rust solves. Trillion-dollar corporations are rewriting things in Rust because it solves problems that really matter to them.

The US government strongly recommends writing all new mission-critical code in memory-safe languages. Guess which one of Rust and Zig is memory-safe?

I have nothing against Zig, it looks like a very nice better C, and the comptime stuff is both cool and useful. But its priorities are not Rust’s priorities.

Re:Static search trees: 40x faster than binary search by nottorp on Wednesday January 01, 2025 @09:56AM (#42566342)
Of course, Rust evangelists are also more than slightly biased.
Re:Static search trees: 40x faster than binary search by Sharlin on Thursday January 02, 2025 @03:49AM (#42572811)
Of course.