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

Fediverse

28555 readers
866 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 2 years 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
[–] dylanTheDeveloper 31 points 10 months ago (3 children)

There's nothing wrong with java

[–] [email protected] 16 points 10 months ago (1 children)

There is nothing inherently wrong with Java I would speculate, but it can be a royal pain in the ass to manage if you just need one application to work.

I know the basics of the language, but from what I have seen managing it, I don't like it. Just from being in security, I constantly hit barriers with devs because of versioning issues. There is always some ancient app running on a version of Java that can't be updated, for whatever reason. Version management is always a pain, but with Java? Goddamn.

I admit ignorance about the details of Java and how awesome it is for job security. There is no way in hell I could even debate anyone who has watched a single video on YouTube about Java. However, from what I have seen, it either works great or it fails explosively with billions of randomly allocated threads attempting to suck memory from every other server within 50 miles.

If it's awesome to code with, cool. I am just a little salty from my experiences, as you can tell.

[–] BURN 4 points 10 months ago (1 children)

Legacy Java software is a massive pain in the ass. No arguments there. I’ve been migrating an app from Java 11->17 for the last 2 months and it’s a versioning mess. So many libraries deprecated and removed that don’t have easy replacements.

It’s great because things don’t break when they’re running, but the problem is upgrading.

Version management does seem to have become better with the last couple versions

[–] [email protected] 2 points 10 months ago

(Confirmation bias, ENGAGE!)

We have a few of those projects coming up as well. Thankfully, I just get to poke at the apps to make sure the issues are resolved.

But yeah, one of my examples of rogue threads is a coding issue, not inherently a language issue. Even log4j issues can't be completely blamed on Java "The Language".

[–] AnUnusualRelic 6 points 10 months ago (1 children)

Well, it wears down your keyboard.

[–] [email protected] 5 points 10 months ago

If you have a good IDE, and Java has the best IDEs of any language I have used, then auto complete will take care of most of that for you.

[–] twistypencil 3 points 10 months ago

Oh yes there is