News for hackers. Stuff that matters.
Re:Zig self hosted compiler is now capable of building itself by Comevius on Saturday April 16, 2022 @04:49PM (#31055979)
Nothing if unsafe Rust is considered, though Zig does not require you to fight the language nearly as much. This is especially obvious with embedded. Zig's philosophy of no hidden control flow or allocation makes things simple. Simplicity is power.

For certain problems you would want a TLA+ specification for safety and especially liveness either way. It's not like Rust absolutely guarantees correctness in all cases.

Rust sits in a sweet spot between C/Zig and languages like Java, but it's not an appropriate replacement for either of them.

Re:Zig self hosted compiler is now capable of building itself by 3a2d29 on Saturday April 16, 2022 @11:24PM (#31058188)
Certainly Rust sits where C++ is. Zig and Rust are definitely best used for different things, but I think sweating rust off as in between C and Java is inaccurate.