this post was submitted on 23 Jan 2024
363 points (96.7% liked)

Fediverse

28389 readers
416 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 [email protected]!

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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 55 points 9 months ago (23 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.

[–] [email protected] 34 points 9 months ago (9 children)

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

[–] [email protected] 20 points 9 months ago (5 children)

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.

[–] [email protected] 1 points 9 months ago (2 children)

Once you know a few languages and the principles for how a computer works moving to a new one is easy. Don't think of it as being a "Java developer", but a programmer. It's just a tool.

We did not learn languages at uni, but concepts. You use the same data structures and algorithms.

I think you'd be surprised, try picking up rust for some advent of code challenges. If you know Java Streams and C/C++ lower level programming all that you're missing is some pattern matching.

[–] [email protected] 3 points 9 months ago

Anyone can quickly learn how to solve some code challenges in a new language.

It’s a completely different story to learn how to write long lived enterprise scale programs that can grow with multiple independent contributors. This takes a lifetime to learn. More people have more experience to do it with Java.

[–] [email protected] 3 points 9 months ago

I know Java and I am learning C#, I don't feel like I can just send a few hours and be at the same level as I am with Java. There are a lot of things I do not know or understand yet with C#.

load more comments (2 replies)
load more comments (5 replies)
load more comments (18 replies)