357

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.

you are viewing a single comment's thread
view the rest of the comments
[-] bdonvr@thelemmy.club 60 points 9 months 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 55 points 9 months 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.

[-] ComradeKhoumrag@infosec.pub 5 points 9 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

[-] redditReallySucks@lemmy.dbzer0.com 10 points 9 months ago
[-] dessalines@lemmy.ml 2 points 9 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.

[-] redditReallySucks@lemmy.dbzer0.com 1 points 9 months ago

Is that still a problem in newer java versions? I have to admit I have only written simple things in java.

[-] dessalines@lemmy.ml 1 points 9 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.

[-] kaffiene@lemmy.world 1 points 9 months ago

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

[-] HopperMCS@twisti.ca -1 points 9 months ago

Ah yes, that explains the log4j fiasco

[-] kaffiene@lemmy.world 1 points 9 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

load more comments (4 replies)
load more comments (19 replies)
load more comments (24 replies)
this post was submitted on 23 Jan 2024
357 points (96.6% liked)

Fediverse

28382 readers
697 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