3 ms·
This is awesome. A nice improvement would be to have the loop continue with the old code when there are errors (rather than pausing iteration).
by _carl_jung 7y ago
This is awesome. A nice improvement would be to have the loop continue with the old code when there are errors (rather than pausing iteration).
- ianai 7y agoHow would that be possible without having to essentially keep track of two files? Nice idea though.
- earenndil 7y agoBasically, you just need a double buffer system: - Always run from the back buffer - Always scan the updated file into the front buffer - If the front buffer is fresh AND the front buffer contains no bugs, bufferswap
- rcfox 7y agoThat seems like it would be confusing. Imagine trying to track down the source of behaviour that no longer exists in your code...