back

by dmit·1y ago·view on hn ↗
> I don't think zig best-practices are written in stone yet, but I would expect ReleaseSafe to be the default in production.

Which profile is the default for the Zig compiler itself? What about Bun? TigerBeetle was the only one of the three to use ReleaseSafe by default last I checked? (Edit: in fact, they outright ban ReleaseFast and ReleaseSmall because they care about correctness.) ZLS suggests ReleaseSafe in its README too, if you count it among the prominent Zig projects.

1 comments
Zig ships release fast but there's an accepted proposal (not implemented yet) to change unstable builds to be release safe.
You mean the official nightlies? I like that plan! Should boost coverage by a lot in irl projects.