5 ms·
[Java] does not evolve very fast While this is true for Java the language, it's not true for Java the VM, which evolved a lot faster than the CLR. And because
by bad_user 14y ago
[Java] does not evolve very fast
While this is true for Java the language, it's not true for Java the VM, which evolved a lot faster than the CLR.
And because Java the language does not evolve very fast, the ecosystem has given birth to mature JVM compilers/interpreters for languages such as Clojure, Scala, JRuby and Groovy, amongst others.
The biggest difference between Java and .NET is that the "backers" of Java come from a really big and open-source friendly community.
- kamaal 14y agoFor most part of the programming world, Java is synonymous with, Java the programming language, not JVM. I always thought Java went very heavy on the frameworks side. Evolution was faster on the frameworks end.
- bad_user 14y agoI think it's irrelevant what people associate Java with, as long as its success can be attributed partly to the awesomeness of the JVM. There's no other mainstream VM out there that does the optimizations that the JVM is doing, or that has the awesome garbage collectors that the JVM has. Have you seen the details of the new Java G1 garbage collector or the specs for JSR-292 (InvokeDynamic)? That's awesome evolution right there.
- kamaal 14y agoI am not saying JVM isn't awesome. But JVM isn't anymore about Java, than JavaScript is about Java. Its like calling the Pentium/AMD/ARM as C processing Machines. The name is deceptive, JVM based languages gives an impression that the languages have to do some thing with Java. Sure they have Java interoperability, but that is different to liking them them with the 'Java programming language' brand. Since JVM was shipped to run Java programs, it was called Java virtual machine. Otherwise its a virtual machine optimized to run Java programs. When people think of Java its 'Java the language'. JVM improvements are not necessarily improvement on the Java programming language syntax and semantics.
- tikhonj 14y agoWell, .NET does have stuff like Iron{Ruby, Python, Whatever}. It also has F#, which is awesome, and VB, which isn't. Also, Java is now backed by Oracle which isn't the most friendly of open source companies either. However, I was actually only really talking about Java the language and not the JVM.
- bad_user 14y agoNot to be negative here, but compare JRuby with IronRuby ... while IronRuby is basically unusable and almost dead, JRuby is not only really mature, but also the fastest Ruby implementation available. A lot of Ruby apps are right now deployed on top of Java servlet containers. There's practically no comparison to be made. The only alternative language for .NET that's worth talking about is F#. But it's interesting to note that F# is sponsored and developed by Microsoft, while a language like Scala came from a third-party community. This is important because Microsoft is known to just dump projects that aren't generating a good return on investment. Java is now backed by Oracle which isn't the most friendly of open source companies either Java was always backed by a huge community that includes IBM, Google, Intel, Red Hat, Novell and the Apache Foundation. The recent lawsuit against Google only goes to show that the genie is out of the bottle.
- Dn_Ab 14y agoActually Nemerle is a language worth talking about. What those guys are doing is brilliant. I remember even years ago - playing with the language - I was able to embed a natural syntax for a constraint programming library, encode a clean syntax on top of/for phantom types and write a monad system with transformers (via the macro system - think Lisp not C). This was back before Monads were cool in the regular community but very old hat in the haskell community. What they are doing with version 2 is even more impressive and they are now sponsored by JetBrains. F# is an excellent language* if you are doing Windows programming right now, you would be doing yourself a disservice not to look at it due to preoptimized worries. The language source is available , hacked on and ahead of Microsoft's version in certain aspects. In the case of a dumping, the community is talented and F# generates IL, unless C# is abandoned there is really nothing to worry about. * I'm experimenting with intelligent, data based programming with a mix of Steffen Forkmann's JSON schema inference + ConceptNet + custom query syntax + embedded prolog + machine learning.
- wvenable 14y ago> it's not true for Java the VM, which evolved a lot faster than the CLR. I'm curious as to what you mean by this; what part of the Java VM has evolved faster?
- thebluesky 14y agoCompare the choice of garbage collectors and high performance JVM implementations vs what the CLR offers. I don't have recent benchmarks for the MS implementation of the CLR, but Mono lags noticeably behind Java in terms of performance: http://shootout.alioth.debian.org/u64q/benchmark.php?test=all&lang=csharp&lang2=java http://shootout.alioth.debian.org/u64q/benchmark.php?test=al...
- localhost 14y agoMono is a completely different implementation from the CLR. I wouldn't be so quick to discount the CLR's GC.
- bad_user 14y agoMicrosoft disallows .NET benchmarks. If you want to compare Java and .NET you have to have their approval first.
- UnoriginalGuy 14y agoCan you cite that? It sounds like an odd thing to do/suggest. I'm not even sure how Microsoft would stop people even if they wanted to...
- bad_user 14y agoI was wrong, they changed the EULA in the meantime. Here are the conditions I could find (you still have to comply with those conditions, but it's doable): http://msdn.microsoft.com/en-us/library/ms973265.aspx http://msdn.microsoft.com/en-us/library/ms973265.aspx And they can stop you through the EULA .NET gets distributed under, because no other license gives you the right to use .NET, so you have to do it under the terms of that license.
- vorg 14y ago> And because Java the language does not evolve very fast, the ecosystem has given birth to mature JVM compilers/interpreters for languages such as Clojure, Scala, JRuby and Groovy, amongst others. Most of those examples you gave (i.e. Clojure, Scala, JRuby) also have CLR versions.
- thebluesky 14y ago...And most of the examples you give are more mature on the JVM and most developers in these languages target the JVM exclusively.