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.

  • ComradeKhoumrag@infosec.pub
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months 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

        • kaffiene@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          arrow-down
          1
          ·
          10 months ago

          That wasn’t a memory safety issue, that was a what the fuck were you thinking design issue. It would have been batshit in any language

      • Dessalines@lemmy.ml
        link
        fedilink
        English
        arrow-up
        0
        ·
        10 months 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
            ·
            10 months 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.