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

[flagged]


Zig is far from being as safe as Ada.


It would be great if you could be a specific as possible about the ways in which Ada is more memory-safe, or otherwise-safe, than Zig.

The language isn't 1.0 yet and is willing to learn from other languages.


Lets start with controlled types (RAII), generics, type driven programming, tasks and monitors for concurrency and parallel programming, certification profiles for high integrity computing (where people die when bugs happen), formal proofs in the type system, contracts.




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

Search: