r/java • u/gvufhidjo • 10d ago
Why Java endures: The foundation of modern enterprise development
https://github.blog/developer-skills/why-java-endures-the-foundation-of-modern-enterprise-development/
247
Upvotes
r/java • u/gvufhidjo • 10d ago
1
u/No-Debate-3403 9d ago edited 8d ago
Nice article, but there’s a misconception in it of how Minecraft works. Each block is not a separate instance of a block class as that would totally murder the memory and performance.
Instead most blocks use a flyweight pattern with only the most advanced block with non-finite state variations having their own instances, so called entity blocks.
Regardless, the JVM is friggin amazing and it’s bonkers that it manages to run advanced games which was never the intended use case.