by rtpg · 10y ago · 0 comments
You could totally implement these things as compile-time macros, or do many different optimisation passes, or so many other things.
In general, any dependence on external mutable state should be asserted or otherwise verified. Those checks can be disabled for performance later. Meshes very well with actual tests too.