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.
Java backend? What year is it?
2024, Java is still the 2nd language on GitHub with 11,7% of the total code hosted, while Rust is number 13 with 1,8%
https://madnight.github.io/githut/#/pull_requests/2023/4
Java has been around for decades longer than Rust, comparing total code numbers doesn’t tell the whole story
Is Big Coffee paying you to shill Java all over this post?
If only… More seriously, I want Lemmy/Kbin/Sublinks to succeed, and the development rhythm of Lemmy made me perplex for a while.
A new option with a more popular language could address this.
Check the back of every dollar for an Oracle database support contract, that’s how they get you!
A year in which the number of Java developers and ecosystem dwarfs that of Rust.
Java is still a strong language.
I think the people who say this and think Rust is the second coming of Jesus, just don’t code. You choose the right language that’s needed for the job. Server stuff like this is Java’s bread and butter. As amazing as Rust is, it has proven to not be a great choice for Lemmy’s development.
I’m curious why you say Rust “ has proven “ to not be a great choice. There is a lack of Rust programmers, but its been the fastest growing community on GitHub for multiple years now, and has proven to be viable at all level of the stack.
Full disclaimer: I code and work in Rust daily on the backend and frontend.
Would you and your colleagues be interested in contributing to Lemmy’s codebase? I’m genuinely asking, I’m still surprised by the low number of contributors for a project that has 40k active monthly users
I barely have time to contribute to fix bugs in the dependencies I use. If I had more time for OSS contributions I might, but I’m not in my 20s anymore and when I’m not at work I’m taking care of my family.
My colleagues and friends are free to do as they please.
I guess that’s the same for most of the userbase. Which is probably why switching to a more spread language could increase the number of contributors.
Not to mention a lot of massive companies also use it at every part of the stack, Rust is good at it all and it is beautifully and perfectly suited for tasks like these.
It certainly sounds more likely that you “just don’t code”.