I am playing around with Robert Nystrom’s LOX, and cloned an Odin version by OrigamiDev-Pete.
There were a couple minor errors, easily fixed, probably due to changes in Odin over the last few years.
Then there was this warning message:
Warning: Expression is always true since unsigned numbers are always >= 0
for i := vm.frameCount-1; i >= 0; i -=1 {
This exposed an unsigned integer rollover bug. Now that’s what I call a helpful compiler message!