@markuslatvala@mastodon.gamedev.place
Post #2439222
2026-03-28 21:07 UTC
@scoopr@mastodon.social In Lua 5.4 the numbers are internally double, int or uint depending on the last operation. Bitwise operators are actually pretty standard, but you obviously have to guess the underlying type. Binary buffers on the other hand are really funky as you operate them through strings.
Replies (2)
-
@zarel@mas.to 2026-03-28 22:52
@markuslatvala@mastodon.gamedev.place @scoopr@mastodon.social TIL Lua has hidden integer arithmetics
-
@boozook@mastodon.gamedev.place 2026-03-31 00:44
@markuslatvala@mastodon.gamedev.place @scoopr@mastodon.social > Binary buffers on the other hand are really funky as you operate them through strings. Are you still sure that Lua is the optimal way to make what you’re doing? :/