I am happy to report that life after Roblox does indeed exist. When I quit, people told me I should take some time off, relax, unwind, recharge, travel…| zeux.io
In Luau, modulo operator a % b is defined as a - floor(a / b) * b, the definition inherited from Lua 5.1. While it has some numeric issues, like behavior for b = inf, it’s decently fast to compute so we have not explored alternatives yet. That is, it would be decently fast to compute if floor was fast.| zeux.io
When using std::condition_variable, there’s an easy to remember rule: all variables accessed in wait predicate must be changed under a mutex. However, this is easy to accidentally violate by throwing atomics in the mix.| zeux.io