Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Any improvements on JVM  RSS feed

 
Vivek Hari Narayanan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings Ranchers,

Few things starting to worry me specially regarding .NET, they have done lots of improvements over past few years, but JAVA, since version 6 nothing has changed much.
Also, .NET framework has learnt it lesson from the past and the mistakes Java has made over its huge dependency on JVM.

How much has the Java 8 has improved on JVM level, is it true that Java language is facing a bottleneck with JVM and .NET framework has only becoming better and faster over these years?

While its always healthy to have a competition, I seriously hope that JAVA remains, as I love the world to be open sourced.

Cheers,
Vivek.







 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "huge dependency on JVM" (.Net also needs to be installed), and what is the "bottleneck" you refer to?
 
Vivek Hari Narayanan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ulf,

It seems that last 5 years or so nothing major has changed in Java language, but on the other hand .NET is growing richer and richer with its features.

Many experts on the internet say that its becoming difficult for java to grow, like this one:
http://www.infoworld.com/d/application-development/java-faces-tough-climb-catch-net-224372?page=0,0

Specifically heard that JVM Garbage collector, it has become so complex that it's virtually not possible for Oracle and try and change the way it behaves. This was one of the biggest selling point few years ago with respect to .NET.

Also some people also comment out that, if its really true that its the way JVM was designed which causes all these problems?

So question comes to my mind is how much have things gone better with Java 8 as far as JVM is concerned?

Cheers,
Vivek

 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While the article makes valid points (like the irrelevancy of the GUI, and the difficulties resulting from the Sun takeover), on the whole I find it rather unconvincing. It states that a) Java has not everything that .Net has, b) that it needs to catch up, but c) that not everything should be added to it (presumably the parts the author considers missing). That's rather contradictory.

It seems that last 5 years or so nothing major has changed in Java language

Java 7 happened during that time, and it did make several language changes. Not sure I would expect "major" changes at this point - like what? Change for change's sake is not a good thing, and the API certainly continues to grow.

Specifically heard that JVM Garbage collector, it has become so complex that it's virtually not possible for Oracle and try and change the way it behaves.

I find that not particularly credible; do you have a source for that?

Also some people also comment out that, if its really true that its the way JVM was designed which causes all these problems?

Of course the JVM is complex - its foundations are by now 20 years old, rather older than .Net's CLR (which was thus able to learn from the JVM). That it would be designed differently today is a given - I think it's a safe bet that the CLR would be designed differently today as well.
 
Cay Horstmann
author
Ranch Hand
Posts: 172
15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I haven't really seen mass adoption of the .NET VM outside Windows desktops, so whatever advantages it might have, they don't seem to be universally embraced. Personally, I think the JVM will live for a good long time. In a few years, all the patents will have expired, and we may well see it crop up at all sorts of unexpected places.

I do agree that Java is unlikely to change much more. But the JVM is more than Java. Scala, Groovy, etc. run happily on the JVM. In Java 8, Nashorn gives you JavaScript on the JVM with great performance. Does .NET have a similar set of widely used languages? They have F#, but that's hardly mainstream.

Cheers,

Cay
 
Jayesh A Lalwani
Rancher
Posts: 2762
32
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's kind of a mistake to compare .NET and Java simply on the basis of the VM/languages. Since the beginning, the biggest differrence between Microsoft and sun was that Microsoft provides a whole ecosystem, whereas Sun provided enough in Java that people can build stuff on their own. This is why Java community embraced open source readily.

A honest comparison of Java vs .NET compares the 2 ecosystems, not just features of the languages.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!