• Chris Remington@beehaw.org
    link
    fedilink
    arrow-up
    18
    ·
    8 months ago

    The problem with this, in my opinion, is Lemmy is written in Rust. From what I can tell, there aren’t enough Rust developers to pitch in AND there are better languages to use in a web application.

    • SorteKanin@feddit.dk
      link
      fedilink
      arrow-up
      20
      ·
      8 months ago

      I really don’t think the language is the problem here. I wrote some thoughts here https://feddit.dk/comment/6556927

      I’m a professional software developer using Rust so I guess you can either call me “biased” or “qualified to answer”, but take that how you will.

      But I suppose time will tell if some other threadiverse implementation in another language takes over.

      • iso@lemy.lol
        link
        fedilink
        arrow-up
        6
        ·
        edit-2
        8 months ago

        I think the definition of best programming language here is not popular and hyped but “the one I use”. I really believe Java is worse than Rust for contributors. We’ll see how it goes.

        • SubArcticTundra
          link
          fedilink
          arrow-up
          2
          ·
          8 months ago

          Then again, a java codebase would be much more accessible to someone who has only coded in JS.

          • SorteKanin@feddit.dk
            link
            fedilink
            arrow-up
            3
            ·
            edit-2
            8 months ago

            Despite their names, Java and JavaScript are very different languages and they really don’t have much in common, so this doesn’t make much sense.

          • jarfil@beehaw.org
            link
            fedilink
            arrow-up
            3
            ·
            8 months ago

            JS only has “Java” in the name, other than that they’re pretty different languages (basically: JS is a clusterfuck, Java is a “get paid by the line” hyper-explicit enterprisey invention with deployment horror stories).

          • iso@lemy.lol
            link
            fedilink
            arrow-up
            2
            ·
            8 months ago

            Really? I mainly code in JS and to be honest, Java gives me C# vibes.

            • SubArcticTundra
              link
              fedilink
              arrow-up
              2
              ·
              8 months ago

              Definitely. I just mentioned JS because i think there are many people who only code for web. Or have js as their first language.

    • MrSpArkle@lemmy.ca
      link
      fedilink
      arrow-up
      11
      ·
      8 months ago

      The best language is subjective, but performance-wise most traditional web-oriented languages are dogshit slow and will incur huge costs both in hosting and performance mitigations. Things like rust, go, or C will ensure long term performance.

      • jarfil@beehaw.org
        link
        fedilink
        arrow-up
        4
        ·
        8 months ago

        I wouldn’t recommend C or C++, even the NSA is asking people to stop using them in favor of memory safe languages. The equivalent in performance, is Rust.

      • SorteKanin@feddit.dk
        link
        fedilink
        arrow-up
        4
        ·
        8 months ago

        traditional web-oriented languages are dogshit slow and will incur huge costs both in hosting and performance mitigations

        Also, for volunteer-run websites like Lemmy sites, costs are very important as hosting costs is essentially the whole cost, since the volunteers aren’t paid.

        For companies who pay devs a salary, the hosting is negligible compared to the engineer salary so it’s more efficient to just scale up and spend less time optimizing.

    • Hirom@beehaw.org
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      8 months ago

      An option is to add a plugin system or API that allows integrating mod/filter tools written in other languages.

      Email systems already do something like this. Postfix and others support milters (mail filters) which run as a separate process and communicate via a socket.