logoalt Hacker News

samatman10/02/20241 replyview on HN

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.


Replies

pjmlp10/02/2024

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.