← Back to context

Comment by Zambyte

5 hours ago

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.

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