An unofficial, read-only Hacker News reader.

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

104 points by vinhnx 4 days ago | citrons.xyz | 61 comments on HN

View full thread · View on Hacker News

Comment thread (3)

  1. I think what happens with Lua is that, when someone decides to use it for a purpose, it ends up embedded and thus the ‘secret sauce’ for the app.

    Which is to say, Lua is used practically everywhere.

    I recently added Lua bindings to the BlenderUI library, and it was just so easy and fun - and immediately made nice UI development so productive. Coding up a BlenderUI with a Lua REPL is a very rewarding thing to do indeed.. so much so that I added Lua bindings to CUI, also!

    Replies (1)
    1. Do you have a repo for these Lua bindings that you mentioned? (BlenderUI and CUI)

      In BlenderUI repo, it mentions Lua bindings, but there aren't any docs about it.

      In CUI repo, I didn't find any reference for Lua bindings.

      Thanks in advance!

      Replies (1)
      1. Blender UI:

        https://github.com/ppmpreetham/BUI.git

        Merged, a bit behind because of massive leaps in Blender UI progress this week, but if you're a Lua person keep an eye on things because I will bring the Lua bindings forward over the weekend to catch up with this weeks mad Blender UI progress.

        Check the examples/lua directory, lots of examples and code, see also bindings/lua/README.md, etc.

        I've already done a few small apps with this, and use the REPL for prototyping pretty successfully now .. but Blender UI has had some stonkin' pushes forward in the past week, I have to catch up a bit ..

        CUI:

        My PR hasn't been accepted, but you can nevertheless access it here:

        https://github.com/yappologistic/CUI/pull/22

        .. I have to fight with the bot protecting upstreams' intake process a bit, its a little frustrating but I'm on it - because CUI is really pretty slick, to be honest.

        I'll be working on pushing both forward - if you have suggestions/contributions also, I'm all ears ..