this post was submitted on 06 Apr 2024
67 points (82.5% liked)

Fediverse

28465 readers
557 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] Rexios@lemm.ee 6 points 7 months ago (3 children)

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.

[–] jgrim@discuss.online 13 points 7 months ago

That's not true, I wrote a blog post about it: https://jasongr.im/blog/why-i-started-sublinks/

[–] Lemzlez@lemmy.world 8 points 7 months ago (2 children)

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 5 points 7 months ago* (last edited 7 months ago) (1 children)

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 4 points 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 0 points 7 months ago (1 children)

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

[–] Lemzlez@lemmy.world 4 points 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.