Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Cover of Programming In Lua

    Programming In Lua

    Roberto Ierusalimschy · 2003

    The author, the chief architect of the Lua programming language, illustrates the features and functionalities of Lua 5.2 using code examples and exercises.

    Programming
    Open LibraryAmazon
    Stats for nerds
    34recommend
    67mentions
    48people
    2008–2026years
    73% recommend25% neutral1% critical

    Mentions per year

    2008201020122014201620182020202220242026

    What Hacker News says

    1. soapdogOct 2025
      It all depends on what you been exposed to in the past, right? I find Lua simple because it is a minimalist language in which there are very few things to learn. You can buy "Programming in Lua" for the version you want to use and with a single book you learn about basically all of the language and its internals. That is not the same with some other languages.
      thread
    2. ufoOct 2025
      Definitely include Roberto's Programming in Lua book in your list. Specially if you'd like to script Lua together with C. The book has a good primer on the Lua-C api in its latter half.
      thread
    3. fidotronJun 2025
      The book about Lua (Programming in Lua) is a masterpiece, and one of the essential programming books.

      If I could write that well in my first language I could probably triple my income. To do it in a second one is just incredible.

      thread
    4. ufoJun 2022
      For Lua documentation, I recommend the Programming in Lua book, from Roberto Ierusalimschy (lead Lua dev). The most recent edition is from 2016, after 5.3 came out, but that's ok because the language hasn't changed much since then.

      http://www.lua.org/pil/

      Another helpful reference is the reference manual. As far as reference manuals go, Lua's is fairly easy to follow and not as dense. (I still have nightmares from reading the Javascript reference manual)

      https://www.lua.org/manual/5.4/manual.html

      thread
    5. RapzidJan 2021
      I believe there is value in learning Lua, and reading Programming In Lua in particular, early on. It's object and inheritance system is in your face. I feel learning it afforded me a more intuitive understand of prototypal inheritance systems.
      thread
    6. wahernJan 2021
      Never mind Lua tutorials. Just read the manual, https://www.lua.org/manual/5.4/, and maybe the canonical Programming in Lua book, https://www.lua.org/pil/

      Lua is an incredibly simple and elegant language. All the myths and bike-shedding on Stack Overflow and elsewhere can only lead you astray. For exceptional situations, use the mailing-list. The authors and almost all experts are on the mailing-list and will be quick to correct errors. (Everybody is wrong sometimes, even the authors! But you need enough experts in one place to be paying attention, and the only such place is the mailing-list.)

      Another thing to keep in mind is that Lua maintains strict feature symmetry between what's possible in Lua code, and what's possible from the Lua C API. This is important to understand if you want to have a good mental model of the language and why it's designed the way it is. If you're not a C programmer or haven't heavily used the Lua C API, many of Lua's choices may seem arbitrary, especially coming from other languages where their C ABI and FFI interfaces are mostly an afterthought or don't otherwise constrain the in-language semantics. Most "better than Lua" projects are written by people without a sufficient appreciation for this aspect of Lua's design.

      thread

    Related

    Cover of Building Web Applications with ERLANG
    2012–2024

    Building Web Applications with ERLANG

    Zachary Kessin
    1 recommend · 2
    Cover of Advanced programming in the Unix environment
    2008–2025

    Advanced programming in the Unix environment

    W. Richard Stevens
    100 recommend · 153
    Cover of The art of computer programming
    2007–2026

    The art of computer programming

    Donald Knuth
    336 recommend · 1,799
    Cover of Programming Pearls
    2007–2026

    Programming Pearls

    Jon Bentley
    158 recommend · 315
    Cover of The Practice of Programming
    2007–2026

    The Practice of Programming

    Brian W. Kernighan
    90 recommend · 184
    Cover of The C Programming Language
    2007–2026

    The C Programming Language

    Brian W. Kernighan
    246 recommend · 604
    Cover of The Ruby programming language
    2008–2023

    The Ruby programming language

    David Flanagan
    14 recommend · 37
    Cover of Essentials of programming languages
    2008–2026

    Essentials of programming languages

    Daniel P. Friedman
    43 recommend · 76