HN Hall of Fame Weekly email

Lua: Good, Bad, and Ugly Parts (2012)

notebook.kulchenko.com Essays & writing Essays & articles Software engineering Candidate
Screenshot of notebook.kulchenko.com captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 3 calendar years, with breakout response in 2 of them.

submissions
4
submitters
4
observed span
2012–2021
peak thread · 110 comments
202 pts
latest 20+ return · 2021-12-23
202 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

Lua is a very nice piece of technology. Its source code is pretty easy to get into, the documentation is complete. It has its quirks yes, but if I need to add scripting to a software, I'd consider Lua before considering writing a DSL, simply because you can pretty much embed Lua's source in your C/C++ software as a static library[0]. The stack-based approach makes it so easy to interact with C/C++, and I've been looking at the Rust bindings[1]…

linkdd·202-point thread·

Lua's great. I recently used it to rewrite a small audio effect framework[1] based on an older project of mine in C[2]. To my astonishment, without any optimization efforts on my part, the LuaJIT version of one effect ran faster than the C version, while another more complicated effect (a filter) only took 2.01x as much time as C. And this was with simple, clean, mostly declarative code (read it on GitHub and see what you think). One of the…

graue·129-point thread·

I have a new meta-pet-peeve: people who are peeved by one-indexing. EDIT: I guess it went into his "differetn" category. Never mind.... Why is one-indexing at the top of his list of bad things, or even on a list of things that matter? It is like getting stuck on adjectives after the noun... My opinion, not widely shared here, is that 1-indexing is best for scripting and math languages where 1-indexing corresponds directly to the subscripts in the formulas. In…

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
394

reference only — not used in Hall rules or ranking

Total comments
223

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2012-04-01Lua: Good, bad, and ugly partspaulclinger40
2013-03-09Lua: Good, bad, and ugly partsFirst breakoutadamansky129110
2013-10-26Lua: Good, bad, and ugly partsnkurz5919
2021-12-23Lua: Good, Bad, and Ugly Parts (2012)Best thread · Latest 20+ point returnSvetlitski20294