TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Why do people criticize the performance of Java, but not other JVM langs?

3 pointsby TheAsprngHackeralmost 7 years ago
A lot of the Java jokes and criticisms make fun of the perceived poor quality of the JVM. For example, the JVM is used to cook a barbecue in this comic: https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;ProgrammerHumor&#x2F;comments&#x2F;8res2s&#x2F;no_problem&#x2F;<p>However, criticism of the JVM seems to be forgotten in the context of JVM languages that are not Java. For example, I&#x27;ve never seen people make a joke about Scala&#x27;s or Clojure&#x27;s performance. Java seems to be very popular to bash, with the JVM being one aspect of its unpopularity, yet other languages that target the JVM receive positive attention and may even be trendy.<p>Why is this so? I know that people see Java as &quot;uncool&quot; or &quot;corporate&quot; due to its verbosity and emphasis on sometimes over-engineered object-oriented design. Other JVM languages may be better than Java in this regard. However, the JVM also tends to be cited in Java criticisms e.g. jokes, even though criticisms of it also affect &quot;trendier&quot; languages.<p>At the risk of saying an unpopular opinion, maybe the criticism of the JVM&#x27;s performance is irrationally tied to an association with Java, an &quot;uncool&quot; language, and when a &quot;trendier&quot; language uses the JVM, people don&#x27;t care, because they really dislike Java, not the JVM?<p>Or maybe people do criticize the JVM in the context of languages such as Scala, Clojure, and Kotlin, and I just haven&#x27;t been paying attention?

2 comments

andymoealmost 7 years ago
Not sure about the speed criticism. Usually it’s memory usage by the JVM that’s a turn off. Out of the other languages you mentioned Clojure is for sure slower but if you’re working with that or another JVM language like Kotlin you’re so happy to not be writing Java you don’t care about the other issues. I often say I wish I learned Java first so I did not know any better. It’s generally pretty unpleasant compared to most other languages I’m used to.
cimmanomalmost 7 years ago
Slow is relative. Java was originally an alternative to C++, which is much closer to the metal and can be significantly faster than the JVM allows.<p>If you&#x27;re deciding to use Clojure or Kotlin, the alternatives you&#x27;re considering are probably Java and Scala, or maybe even a web-friendly scripting language - not C or C++.