this post was submitted on 07 Apr 2026
916 points (98.6% liked)

Lemmy Shitpost

39973 readers
5001 users here now

Welcome to Lemmy Shitpost. Here you can shitpost to your hearts content.

Anything and everything goes. Memes, Jokes, Vents and Banter. Though we still have to comply with lemmy.world instance rules. So behave!


Rules:

1. Be Respectful


Refrain from using harmful language pertaining to a protected characteristic: e.g. race, gender, sexuality, disability or religion.

Refrain from being argumentative when responding or commenting to posts/replies. Personal attacks are not welcome here.

...


2. No Illegal Content


Content that violates the law. Any post/comment found to be in breach of common law will be removed and given to the authorities if required.

That means:

-No promoting violence/threats against any individuals

-No CSA content or Revenge Porn

-No sharing private/personal information (Doxxing)

...


3. No Spam


Posting the same post, no matter the intent is against the rules.

-If you have posted content, please refrain from re-posting said content within this community.

-Do not spam posts with intent to harass, annoy, bully, advertise, scam or harm this community.

-No posting Scams/Advertisements/Phishing Links/IP Grabbers

-No Bots, Bots will be banned from the community.

...


4. No Porn/ExplicitContent


-Do not post explicit content. Lemmy.World is not the instance for NSFW content.

-Do not post Gore or Shock Content.

...


5. No Enciting Harassment,Brigading, Doxxing or Witch Hunts


-Do not Brigade other Communities

-No calls to action against other communities/users within Lemmy or outside of Lemmy.

-No Witch Hunts against users/communities.

-No content that harasses members within or outside of the community.

...


6. NSFW should be behind NSFW tags.


-Content that is NSFW should be behind NSFW tags.

-Content that might be distressing should be kept behind NSFW tags.

...

If you see content that is a breach of the rules, please flag and report the comment and a moderator will take action where they can.


Also check out:

Partnered Communities:

1.Memes

2.Lemmy Review

3.Mildly Infuriating

4.Lemmy Be Wholesome

5.No Stupid Questions

6.You Should Know

7.Comedy Heaven

8.Credible Defense

9.Ten Forward

10.LinuxMemes (Linux themed memes)


Reach out to

All communities included on the sidebar are to be made in compliance with the instance rules. Striker

founded 2 years ago
MODERATORS
 

Inspired by a recent 196 post

you are viewing a single comment's thread
view the rest of the comments
[–] vivalapivo@lemmy.today 12 points 1 month ago (4 children)

Java is neat: you just get what you write. There are things that really makes you cry and Java is not among them

[–] Valmond@lemmy.dbzer0.com 18 points 1 month ago (3 children)

Just make the 200 line boiler code setup to make some

system.stuff.thingy.log.println("hello world");

Then it's not compatible with the installed vm.

[–] vivalapivo@lemmy.today 11 points 1 month ago

Then it's not compatible with the installed vm.

This almost never happens, unless you do very niche things or have unrealistic expectations from your file system.

Niche things include using obsolete cyphers for net communication or running java code on the ibm mainframe, not something you do day to day.

[–] loutr@sh.itjust.works 7 points 1 month ago

Java has changed a lot since Java 8. Here's a 3-line HelloWorld.java compatible with Java 21+:

void main() {
    System.out.println("Hello, World!");
}
[–] SubArcticTundra@lemmy.ml 4 points 1 month ago

Theres always Kotlin, which is like Java but for humans

[–] lena@gregtech.eu 14 points 1 month ago (1 children)

you just get what you write.

Every language is like that

[–] vivalapivo@lemmy.today 8 points 1 month ago (1 children)

Hahaha.. man you have a whole life ahead of you.

[–] lena@gregtech.eu 3 points 1 month ago (1 children)
[–] SlurpingPus@lemmy.world 2 points 1 month ago

They's a vibecoder.

[–] Alk@sh.itjust.works 13 points 1 month ago (1 children)

It makes me cry when modded minecraft uses 100% of my CPU and eats up 20gb of ram. (This is only a little bit java's fault)

[–] vivalapivo@lemmy.today 9 points 1 month ago (2 children)
  1. Java should not be used for game engine design. Stop-the-world events and poor shaders support do not help.

  2. JVM eats as much memory as you give it, so try playing with -Xmx param

[–] SlurpingPus@lemmy.world 3 points 1 month ago* (last edited 1 month ago)

Java has been used by programmers of mobile games just fine, for ages. The trick is the same that one would need with any other environment: knowing what objects you'll need to allocate for a level, and not allocate more than that.

[–] Alk@sh.itjust.works 2 points 1 month ago

Oh yeah I know all about that, I'm talking about what it actually uses within the JVM 😅 It's a messy monster of a game once modded, and there's really nothing you can do about it other than some slight optimizations here and there.

[–] turbowafflz@lemmy.world 6 points 1 month ago (1 children)

Fine langauage, terrible build tools

[–] Tja@programming.dev 6 points 1 month ago (2 children)

Is that why there's like 27 languages that are based on the same jvm?

[–] bilb@lemmy.ml 6 points 1 month ago (1 children)

I feel weirdly drawn to learning kotlin.

[–] loutr@sh.itjust.works 4 points 1 month ago (1 children)

You should, it's fun to use and runs on pretty much every platform.

[–] bilb@lemmy.ml 3 points 1 month ago

Whenever I look at it, it just looks "comfortable." I'm most familiar with C#, and I'm interested in some of the type features of Kotlin that are not yet a part of C#.

[–] vivalapivo@lemmy.today 4 points 1 month ago

Of which like 3 work in production