GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    :ihavenomouth: (inginsub@clubcyberia.co)'s status on Monday, 01-Jul-2024 00:35:52 JST :ihavenomouth: :ihavenomouth:
    I have, in fact, written code in lua and used it for something other than factorio
    In conversation Monday, 01-Jul-2024 00:35:52 JST from clubcyberia.co permalink
    • Pleroma-tan likes this.
    • Embed this notice
      Rusty Crab (rustycrab@clubcyberia.co)'s status on Monday, 01-Jul-2024 00:58:06 JST Rusty Crab Rusty Crab
      in reply to
      • Kerosene
      • Rusty Crab
      • practically without merit
      @Kerosene @Inginsub @pwm on the flipside, it IS a competent language in that it works and I've never seen it actually fuck up in a real world scenario. Survives contact with real computers and all that.

      The developers of lua even say that it's not meant to be the backbone of a big program like python is. It's supposed to compete with things like custom file formats.

      People don't use it like that because once you develop some infrastructure for it, it's way too easy to get sucked into the process and before you know it every other function has some hook into a .lua file and you're stuck with a slow unmaintainable mess until the end of time.

      I would recommend just staying away unless there really isn't another option.
      In conversation Monday, 01-Jul-2024 00:58:06 JST permalink
    • Embed this notice
      Pleroma-tan (kirby@lab.nyanide.com)'s status on Monday, 01-Jul-2024 00:58:06 JST Pleroma-tan Pleroma-tan
      in reply to
      • Kerosene
      • Rusty Crab
      • practically without merit
      @RustyCrab @Kerosene @Inginsub @pwm you know all those valid points? Fuck you. I'm just going to ignore them. In fact I'm actually just going to write my code in ti basic. Just to see you seethe
      In conversation Monday, 01-Jul-2024 00:58:06 JST permalink
    • Embed this notice
      Rusty Crab (rustycrab@clubcyberia.co)'s status on Monday, 01-Jul-2024 00:58:07 JST Rusty Crab Rusty Crab
      in reply to
      • Kerosene
      • practically without merit
      @Kerosene @Inginsub @pwm there's a reason that it's a "hidden gem" and not a mainstream obvious choice
      In conversation Monday, 01-Jul-2024 00:58:07 JST permalink
    • Embed this notice
      Kerosene (kerosene@bae.st)'s status on Monday, 01-Jul-2024 00:58:08 JST Kerosene Kerosene
      in reply to
      • Rusty Crab
      • practically without merit
      @RustyCrab @Inginsub @pwm Interesting. I've seen so many people shill it as this hidden gem of scripting languages. I wonder if Minetest's devs think it was a good or a bad idea to use it for their game engine.
      In conversation Monday, 01-Jul-2024 00:58:08 JST permalink
    • Embed this notice
      Rusty Crab (rustycrab@clubcyberia.co)'s status on Monday, 01-Jul-2024 00:58:09 JST Rusty Crab Rusty Crab
      in reply to
      • Kerosene
      • practically without merit
      @Kerosene @Inginsub @pwm two main problems:

      The language has no notion of class or custom data types. You get primitives and tables and thats it. There's a huge cope called metatables that allow you to create class-like structures but they are still fully dynamic and it's very very hard to tell what literally anything is at runtime. This is on top of the fact that lua has basically no debuggers in existence. That is to say, they exist but none of them work correctly.

      Performance in lua is a dark art. If you stick to using primitive types, the VM is very very fast. If you try to use classes (you're out of your mind if you don't), the VM is absolutely reckless with memory and the same code involving classes/tables will executive 30 TIMES SLOWER than without them. I have benchmarked this over and over and over again.
      In conversation Monday, 01-Jul-2024 00:58:09 JST permalink
    • Embed this notice
      Rusty Crab (rustycrab@clubcyberia.co)'s status on Monday, 01-Jul-2024 00:58:10 JST Rusty Crab Rusty Crab
      in reply to
      • practically without merit
      @pwm @Inginsub it doesn't scale up to even modestly sized programs. No real libraries. The only thing it's good for is writing configuration scripts and loading them because it has a nothing-sized vm
      In conversation Monday, 01-Jul-2024 00:58:10 JST permalink
    • Embed this notice
      Kerosene (kerosene@bae.st)'s status on Monday, 01-Jul-2024 00:58:10 JST Kerosene Kerosene
      in reply to
      • Rusty Crab
      • practically without merit
      @RustyCrab @Inginsub @pwm I've never tried it beyond giving a quick look at mod making in Minetest. Is it really that slow?
      In conversation Monday, 01-Jul-2024 00:58:10 JST permalink
    • Embed this notice
      Rusty Crab (rustycrab@clubcyberia.co)'s status on Monday, 01-Jul-2024 00:58:11 JST Rusty Crab Rusty Crab
      in reply to
      @Inginsub never again
      In conversation Monday, 01-Jul-2024 00:58:11 JST permalink
    • Embed this notice
      practically without merit (pwm@gh0st.live)'s status on Monday, 01-Jul-2024 00:58:11 JST practically without merit practically without merit
      in reply to
      • Rusty Crab
      @RustyCrab @Inginsub what do you have against lua? I think it's pretty good
      In conversation Monday, 01-Jul-2024 00:58:11 JST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.