this post was submitted on 23 Jan 2024
0 points (NaN% liked)

Fediverse

28152 readers
405 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
 

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.

top 10 comments
sorted by: hot top controversial new old
[–] bdonvr@thelemmy.club 0 points 9 months ago (1 children)

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

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

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

[–] Undaunted@feddit.de 0 points 9 months ago

I'm not saying that rewriting he backend is a good choice, but for me specifically, I'd like Lemmy to be written in Java. Why? I'm a Java software engineer for nearly 7 years now and I'd like to contribute. Yes, I could learn Rust, like I did learn Go, C, C++ and other languages during my cs studies. But I really don't have the free time and motivation to do that after I already worked 8-10 hours at my computer. If I could use my existing Java knowledge to quickly fix some small bugs or whatever, I'd love to do that. But the hurdle to learn a new language (including other paradigms and best practices) just to contribute to this one project is just too high for me.

[–] cupcakezealot@lemmy.blahaj.zone 0 points 9 months ago (1 children)

an alternative Java-based backend

kill it with fire

[–] p03locke@lemmy.dbzer0.com 0 points 9 months ago* (last edited 9 months ago) (1 children)

an alternative Java-based backend to Lemmy’s Rust-based one

Going from a modern well-designed language to an old-and-busted, kitschy, memory-hogging, bloated language. This is literally a step backwards.

Rust, Go... hell, even Ruby-on-Rails or whatever Python is offering nowadays would be a better choice.

[–] kassuro@feddit.de 0 points 9 months ago

Modern Java isn't that bad, and with new developments like the graalvm and cloud native builds, or what they are called, the footprint of a modern Java app can be comparable to an golang app.

Modern Java kinda has the same image problem as modern PHP. Not saying is all great, but it sure has seen quite the improvements in the last years

[–] kawa@reddeet.com 0 points 9 months ago (1 children)

Why Java though ? Like really ? It's... Better than any other compiled language ?

[–] loutr@sh.itjust.works 0 points 9 months ago* (last edited 9 months ago) (1 children)

Because modern Java is an OK language with a great ecosystem to quickly build web backends. And there are lots of java devs which means more potential contributors.

[–] Fudoshin@feddit.uk 0 points 9 months ago

Hello world in Java = 500 lines of code.

Hello world in Rust = 3 lines of code.

Java is over-engineered corporate bullshit used by banks and Android development. Nobody programs Java for the fun of it.