Hacker News new | ask | show | jobs
by speed_spread 18 days ago
Being a replacement for C, Zig is definitely lower level than Rust and readily exposes its own internal structures. Rust can get you there if you need it but you have to work for it. Having enums work as a black box makes them safer and enables the compiler to possibly optimize more.