Seems like an interesting effort. A developer is building an alternative Java-based backend to Lemmy’s Rust-based one, with the goal of building in a handful of different features. The dev is looking at using this compatibility to migrate their instance over to the new platform, while allowing the community to use their apps of choice.

  • bdonvr@thelemmy.club
    link
    fedilink
    English
    arrow-up
    47
    arrow-down
    1
    ·
    2 years ago

    What missing features are so important that you decide to recreate the entire backend of Lemmy because you think the devs aren’t fast enough?

    • Ghostalmedia@lemmy.world
      link
      fedilink
      English
      arrow-up
      50
      arrow-down
      6
      ·
      2 years ago

      Java instead of Rust is going to be a big thing for a lot of people who would like to contribute in their spare time. Yeah, Rust is cool, but every CS grad and their mother knows Java.

      Back during the migration surge a few months ago, you commonly saw a LOT of comments from folks saying they would love to help eat away at the project’s backlog, but they just didn’t have the time or energy to learn Rust at the moment.

      • Amaltheamannen@lemmy.ml
        link
        fedilink
        English
        arrow-up
        38
        arrow-down
        7
        ·
        2 years ago

        Any recent CS grad is obsessed with rust, trust me. It’s not hard to learn either with that background.

        • Ghostalmedia@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 years ago

          If I were to guess, it’s not recent grads making those posts. I got the sense those comments were coming from people who had been around for a while. Folks who are now senior enough to be trapped in draining meetings all day, and have to manage a family a night.

          The work day and home life can get longer and more exhausting the further the older you get.

      • P03 Locke@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        14
        arrow-down
        6
        ·
        2 years ago

        Yeah, Rust is cool, but every CS grad and their mother knows Java.

        Sure, twenty-five years ago, when Sun was pushing their language hard into colleges everywhere.

        Now? Sun Microsystems doesn’t even exist, and everybody hates the JVM in an ecosystem where VMWare, Docker, and Kubernetes do the whole “virtual machine” model much better.

        • Cosmic Cleric@lemmy.world
          link
          fedilink
          English
          arrow-up
          10
          ·
          2 years ago

          Now? Sun Microsystems doesn’t even exist

          That was a long, long, long time ago.

          Java has continued to be very popular after Oracle purchased Sun Microsystems.

        • branch@lemmy.world
          link
          fedilink
          English
          arrow-up
          6
          ·
          2 years ago

          Can’t say I agree. It feels like an almost even 50/50 split between Java and C# when I look at job postings.

      • ComradeKhoumrag@infosec.pub
        link
        fedilink
        English
        arrow-up
        11
        arrow-down
        8
        ·
        2 years ago

        I think rust is a very pragmatic choice, lemmy is decentralized, the security benefits are a necessity when it comes to self hosters donating hardware

          • Dessalines@lemmy.ml
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            1
            ·
            2 years ago

            After working in java for over a decade, I will never use another garbage-collected language if I can avoid it again. I still have nightmares about debugging memory build-ups and having to trace down where to do manual garbage collection. I remember my shop eventually just paid for 32 GB ram servers, and java filled those up too.

            Rust doesn’t have these problems because its not a garbage collected language like java or go, and has an ownership-based memory model that’s easy to work with.

              • Dessalines@lemmy.ml
                link
                fedilink
                English
                arrow-up
                1
                arrow-down
                1
                ·
                2 years ago

                Garbage collection is by nature imperfect, its impossible for it to always be correct about when and what things to free up in memory. The best option is to not use a garbage collected language.

                • kaffiene@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  2 years ago

                  Wow. It’s amazing that anyone ever got anything to work in java. Must have never got used for anything

    • BURN@lemmy.world
      link
      fedilink
      English
      arrow-up
      17
      ·
      2 years ago

      It seems to be more language focused than hard to PR against the main repo.

      Java is much more widely known than Rust, which means a much larger pool of developers. I never contributed to the original Lemmy server because I couldn’t wrap my head around a full production scale rust project. I’ll very likely contribute to this because I work with production Java code daily. Im sure I’m not the only other dev who has run into this.

      Also maybe there’s just too many disagreements with the Lemmy owners, who are a bit extreme for a lot of people.

    • 0x1C3B00DA@kbin.social
      link
      fedilink
      arrow-up
      17
      ·
      2 years ago

      Lemmy doesn’t have to have missing features for someone to want to write their own implementation. And in a decentralized system you want multiple implementations to exist. This is a good thing