3 ms·
> Just do everything with integers. It gets cripplingly inefficient to do many calculations with integers. Simulating weather, or doing nearly any scientific c
by ChrisLomont 5y ago
> Just do everything with integers.
It gets cripplingly inefficient to do many calculations with integers. Simulating weather, or doing nearly any scientific calculation, using only integers would be a massively terrible idea.
Same with neural networks (even though there is some work in that area), or a large part of signal processing, or medical work.... and on and on.
>Determinism is king in lockstep programming
Pretty much all modern games don't do lockstep because it's far too slow, messy, and error prone. It's much better to build a tolerant system that can handle missed frames, lags, and instead do predictive and catchup computing.
Maybe use the right tool for the job, and learn new tools to access new jobs, is a better approach. Learning IEEE 754 nuances is a useful skill, and one can program many things by using this tool well that cannot be done efficiently or cleanly otherwise.