Unofficial Hacker News companion — get notified on comment replies, and more.

Lua for data representation (2025) (opens external site)

105 points by vinhnx 7 days ago | citrons.xyz | 62 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (1)

  1. The only time I've found 1 based indexing to be a problem is when I forget whether I'm iterating a C array or Lua table, but even then the fix is obvious. It's annoying but, I mean, people literally break into apopleptic rage over Javascript and it's one of if not the most widely used programming languages in existence.

    And the current version of LuaJIT includes bitwise operators.