Frontpage
Login
0 / 10,000

It’s a bit weird that the article is framed as “Zig vs Rust” but when you get to the meat of it it’s more “Zig vs C”

One thing that always kills me with Zig is the unreachable() function. Unlike practically every other modern compiler I've ever come across, Zig requires you stick unreachable() in parts of the code that aren't reachable (if built in Debug or ReleaseSafe mode), otherwise the compiler will throw errors at you instead of just handling it 👉 https://ziglang.org/documentation/master/#unreachable