• Rimu@piefed.social
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    21 hours ago

    Performance is an attractive metric because it’s something you can put a number on. It’s measurable, so comparisons are easy.

    But there are so many other metrics that are more important.

    Still, https://leafo.net/lapis/ looks like something I’d like to try sometime. I don’t know anything about the Lua web framework ecosystem, that’s just the first search result I found. Do you have any recommendations?

    • irelephant [he/him]@anarchist.nexus
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 hours ago

      I’m a big fan of lapis. It’s built on openresty, a fork of nginx that embeds luajit into it. This means you can make use of all the features nginx has in your application. It’s really fast in my experience.

      I have a medium-ish project written in lapis here: https://codeberg.org/irelephant/kittygram

      There isn’t really much of an ecosystem around lua, lapis is really the only “proper” framework. There is stuff like redbean and mako which are cool, but not as complete/friendly to use as lapis imo.
      Luarocks can be a bit of a pain as well (make sure to install packages for lua 5.1).

      Lapis is made by the same person who made itch.io too, which i think it cool.

      • Rimu@piefed.social
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 hours ago

        Great to see a real app built with it. It reminds me of Flask a lot, although I guess all mvc frameworks are pretty similar.