Hacker News new | ask | show | jobs
by ArrayBoundCheck 1439 days ago
You mean rust shouldn't allow easy to write out of bounds errors?

I'm still waiting for a flag to disable runtime bound checks

1 comments

I haven't mentioned Rust.

I love KISS and Zig's simplicity especially but there is two sides to programming.

The engineers perspective and the user perspective.

I am both and prefer to have more paid hours and safer software ;)

Zig takes a different approach to safety. For example, Zig has checked arithmetic enabled by default in safe builds, can guarantee static allocation, and can recover from memory allocation failure. It depends on the definition of “safer software”, but for many domains where safety is a field [1], these are also important design decisions.

[1] https://spinroot.com/gerard/pdf/P10.pdf