Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Isn't zig more or less the closest thing we have for this currently? I really ask naively, without proper insights to give a relevant answer myself.


Zig is safer than C, which is not a high bar to clear. It has safer defaults than C, and makes it a little easier to use test-driven debugging to find memory safety violations, but it has no answer to Rust’s Send and Sync traits or the mutable XOR aliasable reference model. In that sense it’s similar to dozens of other languages older than Rust.


I don't see zig being that simple. I think it looks more like rust without the borrow checker. Odin to me looks like a more simple language. Go too would fit that if you want some safety.


Nice, I wasn’t aware of Odin, thanks.


But Zig doesn't have a nice package manager like Cargo?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: