News for hackers. Stuff that matters.
Re:Networking of a turn-based game by sjrd on Wednesday February 16, 2022 @02:32AM (#30357280)
Let's say you use JDK 17 (which re-specified float and double operations to be strict everywhere) and always use `java.lang.StrictMath` instead of `Math`, wouldn't you get determinism for all the floating point operations "for free"?
Re:Networking of a turn-based game by was_a_dev on Wednesday February 16, 2022 @05:31AM (#30358320)
That's a very expensive "free"
Re:Networking of a turn-based game by sjrd on Wednesday February 16, 2022 @05:53AM (#30358456)
Hum, yes, that's probably true for real-time physics.