News for hackers. Stuff that matters.
Re:When Zig is safer and faster than Rust by zamalek on Tuesday March 07, 2023 @02:53PM (#35060297)
That is extremely subjective. I find the syntax extremely easy to read, and there are significantly fewer edge cases than nearly all other mainstream languages:

* Why does C# require a break; under switch?

* What about the "Most Vexing Parse"?

* Why does Zig change capitalization of @import and @TypeOf?

Rust is an extremely "guessable" language. It's highly likely that experimenting with syntax will succeed in Rust, which is a syntax feature that I have seen nowhere else.

Re:When Zig is safer and faster than Rust by somethingor on Tuesday March 07, 2023 @03:31PM (#35060786)
Re:When Zig is safer and faster than Rust by edflsafoiewq on Tuesday March 07, 2023 @03:28PM (#35060737)
> Why does Zig change capitalization of @import and @TypeOf?

TypeOf returns a type. Corresponding to how type names are uppercase.