Right now, I’m feeling concerned and wondering what is going on in regards to Sublinks here, since I have created a community for discussion on koalas about a week ago on here and have started and been doing work on it recently. But now I’m hearing about Sublinks and feeling concerned if I created it on the wrong instance or the wrong platform since I’m now just recently hearing about it. I’m just feeling worried and wondering whether or not if I should do anything or not.

  • Rexios@lemm.ee
    link
    fedilink
    English
    arrow-up
    14
    ·
    7 months ago

    I’m trying my hardest to not assume it’s the classic “Java engineers are scared of other languages” meme

    It literally is. The main maintainer didn’t want to learn Rust.

    • Lemzlez@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      ·
      7 months ago

      Even if that were true - does it matter?

      Java is a perfectly valid choice for something like this.

      Yes, Rust is “faster”, uses less memory, etc…

      Java is fast enough, though. It offers a fantastic ecosystem and, seeing as these projects are ran by volunteers who do this in their free time, there’s a lot more people willing to chip in some work.

      • asdfasdfasdf@lemmy.world
        link
        fedilink
        English
        arrow-up
        7
        ·
        edit-2
        7 months ago

        Rust’s speed is a cherry on top. The main reason to use it is its language design / correctness guarantees.

        I’ve been programming for several decades and understand nuance and subjectivity vs objectivity when it comes to this, and strongly believe Rust is just objectively much better than Java as a language.

        One example is that Rust doesn’t have null while Java does. The creator of null gave an excellent talk called The Billion Dollar Mistake about why null was such a bad idea, and said languages shouldn’t not have used it. Instead, the alternative he gives is what Rust does.

        Things like this are actually hugely important.

        Also, Rust was “most loved” language in the StackOverflow developer survey for eight years in a row for a reason.

        https://survey.stackoverflow.co/2023/#section-admired-and-desired-programming-scripting-and-markup-languages

        Other than Sublinks, I have never seen anyone post about how they really want to work with Java.

        • Lemzlez@lemmy.world
          link
          fedilink
          English
          arrow-up
          5
          ·
          7 months ago

          I have seen people wanting to do Java, and while I personally prefer rust, I do see why.

          Outside of the entire Sublinks discussion, it’s important to note that Java is not just Java anymore either. Kotlin offers many of the same advantages syntax-wise that Rust does (including the lack of null), and has access to Java’s excellent ecosystem.

          Ultimately, it is up to people to decide what they want to use. Regarding of your opinions on Java or Rust, it is a valid choice either way for this type of software. It’s a personal choice.

      • Rexios@lemm.ee
        link
        fedilink
        English
        arrow-up
        3
        ·
        7 months ago

        Yes because it fragments development of an already not well supported platform

        • Lemzlez@lemmy.world
          link
          fedilink
          English
          arrow-up
          5
          ·
          7 months ago

          How? The sublinks devs started the project just because they didn’t want to work on Lemmy for whatever reason. If they did, they would have worked on Lemmy. It’s either Lemmy AND Sublinks, or Just Lemmy with the same developers.

          Having multiple implementations is a good thing, regardless of what language they use. They all implement the same protocol, should be (mostly) compatible, and can learn from (and compete with) each other.

          Look at other OSS. There’s so many Linux distributions, Why doesn’t everyone just work on a single one?

          Because everyone has a slightly different view on things. This makes the OSS community stronger.

    • 9point6@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      edit-2
      7 months ago

      So rather than the relatively simple task of learning rust (honestly not that tough for any half decent engineer, a couple of weekend toy projects had me more or less up to speed with it) they’re going to rebuild and track lemmy API changes—a technically endless task?

      And I’ve just seen it’s Spring Boot too, which I’m fairly sure most of the industry is trying to move away from.

      Shame the engineers want to spend all that effort that would be better spent improving lemmy rather than fracturing development resources between the two projects.

      I’ve now gone from ambivalent towards this to actively hoping it fails.

      Edit: see the above comment’s blog post for more context that changed my mind

      • jgrim of Sublinks@discuss.online
        link
        fedilink
        English
        arrow-up
        11
        ·
        7 months ago

        Java isn’t my preferred language. I did learn Rust to try to contribute but found the code base in less than ideal state and the process of contributing to risky. They don’t always accept all PRs. I also have low faith in the success of Lemmy due to it’s poor QA process and it’s major lack of features.

        I believe Java is the best option for this type of application, I almost did it in PHP. My goal was to attract as many people as possible to want to contribute. It’s worked, I have a ton of people contributing in some way, Sublinks roadmap is clear and organized, and we have a super-motivated and driven team.

        We won’t fail.

        • 9point6@lemmy.world
          link
          fedilink
          English
          arrow-up
          6
          ·
          edit-2
          7 months ago

          You know what, I’ve read your blog post linked to another reply and understand your reasoning more and it now seems like a much less hostile project than it was initially coming across, which at the end of my previous comment had started to look a bit like EEE to me. I’m a lot less negative towards the project now I know you guys have attempted to contribute to lemmy unsuccessfully in a few ways.

          I’m still a little sad that a cooperative solution couldn’t be worked out with the Lemmy guys, as more people pulling the same way is always better than two groups pulling in different directions IMO (even if they’re currently aligned today), especially for relatively small projects like these. But if that wasn’t ever gonna happen for whatever reason, I get the reason for a split.

          FWIW, the language doesn’t really matter if it does the job effectively, it wouldn’t have been my choice, but obviously I’m not the one building it so that doesn’t really matter. I’ve been “lucky” enough to have seen multiple horror shows in perl which are still in production today and serve miraculous amounts of traffic—again it absolutely wouldn’t be my choice, but it does the job.

          So good luck then, it will be interesting to see how things develop with this project. I’ll edit out the last line of my previous comment.

          • jgrim of Sublinks@discuss.online
            link
            fedilink
            English
            arrow-up
            3
            ·
            7 months ago

            It’s a reputable web development language and Spring Framework is very robust. I knew it would make development very quick and easy. Also, everyone learns Java just a little so I feel like it’s easy for the average person to contribute. Rust is certainly fun but Java is tried and true. The organization of the Lemmy project’s code vs Sublinks is night and day. It’s so easy to extend and grow Sublinks.

      • chunkystyles@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        6
        ·
        7 months ago

        it’s Spring Boot too, which I’m fairly sure most of the industry is trying to move away from.

        That would be news to me, someone in the industry, who works with Spring Boot.

        Got anything to back that up?

        • Lemzlez@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          ·
          7 months ago

          They don’t because it’s not true.

          There’s a few things moving to quarkus, but a lot of that is being pushed by Redhat (whose own software was not even spring boot but JEE)

        • 9point6@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          7 months ago

          Unfortunately given I’ve not been an active java engineer in over a decade, I’m getting this from conversations I’ve had and presentations I’ve seen from the Java engineers at my workplace and that I’ve previously worked with. I’m genuinely happy to be corrected though, I’ve definitely not got a horse in the Java framework race, at any rate.

          Perhaps I’m/they’re mistaken, but I’ve got the impression from them that everything is heading towards Micronaut or Quarkus (and perhaps others that people I work with aren’t looking at) if you’re sticking with Java, and starting something new in SB would be against that direction of travel. Might be worth pointing out that a few of the Java devs seem to be doing more in kotlin as well, so perhaps it might be more to do with that and I’ve got the wrong end of the stick.