3 ms·
One of the biggest advantages of Java/JVM is backwards compatibility. The reason Oracle is taking so long to do Valhalla is they are doing it WHILE being able
by cogman10 5y ago
One of the biggest advantages of Java/JVM is backwards compatibility. The reason Oracle is taking so long to do Valhalla is they are doing it WHILE being able to run Java 1.0 jars.
Microsoft "fixed" things by saying "All your 2.0 net code is broken in 3.0".
- pjmlp 5y agoAnd they did it again with .NET Native and now the Framework to Core migration.
- merb 5y agowell that is not true. no code was ever broken with .net 2.0, .net 3.0, .net 3.5, etc. .net was just mostly binary compatible, most often source compatible, but basic syntax never broke, the api/runtime often broke, but that is a different matter. i.e. why .net core broke a lot of stuff was not syntax it was most often that libraries changed/were missing. java's runtime was mostly source/binary compatible compared to .net, but thats why a ton of stuff was never used, like http client/serve lul..
- pjmlp 5y agoOther than variable scope semantics of foreach. A programming language is composed by grammar, semantics and standard library, it doesn't matter at what level it breaks, if the code or binaries cannot be brought forward without changes. Since Oracle decided to actually remove parts of Java, they certainly heard from people using that ton of stuff that no one uses.