Lua for data representation (2025) (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
1) Lua has optimizations when a table only has numeric keys
2) This keeps Lua small. AWK, another tiny language, has the same behavior.
No bitwise operators:
Lua 5.2 and higher have bitwise operations,[1] and pretty much every modern Lua 5.1 fork (LuaJIT, the version of Lua Wikipedia uses for scripting, luau, my personal “lunacy” fork of Lua 5.1, etc.) has added bitwise operations.
The only case where a real-world Lua implementation doesn’t have bitwise operations is Adobe Lightroom Classic,[2] and even there is is possible to implement them with a polyfill.
[1] https://lua.org/manual/5.2/manual.html#6.7
[2] Alpine Linux has a lua5.1-bitop package which adds bit ops to their port of Lua 5.1