logoalt Hacker News

Zambyte • yesterday at 5:14 PM • 2 replies • view on HN

Zig makes you choose that at build time. You can use safe builds for development to catch bugs, and fast builds for release. You can even use safe builds in of the release, and optimize hot paths with fast builds.

In practice, projects written in Zig very much can choose both.


Replies

bhaak • yesterday at 5:41 PM

You make it sound as if all bugs could be catched in development builds.

➕ show 1 reply
pjmlp • yesterday at 5:24 PM

Still doesn't have a good answer for use after free, although the allocators on the last release might help into that regard.