▲ | maleldil 4 hours ago | ||||||||||||||||||||||||||||
Zig isn't memory safe, though. It's safer than C or C++, but not much. | |||||||||||||||||||||||||||||
▲ | ashikns 3 hours ago | parent | next [-] | ||||||||||||||||||||||||||||
This is what I have struggled to understand about Zig. It seems pretty much like C in a mental model aspect - you are responsible for everything. It's slightly better than C, but C already runs on everything on the planet and can be made secure even if painfully so. So what niche is Zig aiming to fill? | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
▲ | throwawaymaths 3 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||
checked array bounds is memory safety. |