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

> Runtime bounds checking

Compile time slice bounds checking is generally not a thing, since the length is not known until runtime. Its still safe.

> but only in Debug/ReleaseSafe builds

So, the default build modes?

Istg zig should just eliminate releasefast and releasesmall and force you to opt in on a function by function basis.



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

Search: