While this topic doesn’t explicitly ask for this, it still seems like a relevant/related question:
What are commonly occurring patterns/problems/solutions in Zig code?
Here are some patterns @tensorush has collected:
And there are also a bunch of discussions around specific problems and how to best solve them scattered around this forum.
I still haven’t looked at TigerBeetle’s code in enough detail, but from their talks and blog posts they have published, they have implemented a lot of good ideas around design, reliability, testing, simulation-testing, fuzzing, etc..