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. C types as well (with LuaJIT.). Building metaclasses around SDL objects and adding a tostring function to they can all be printed, for instance. It's so much easier to build a C API in Lua than it is to build a Lua API in C.