5 ms·
I'm curious what your preferred alternative to Java is?
by projektir 8y ago
I'm curious what your preferred alternative to Java is?
- scarface74 8y ago.Net Core. It’s maintained by a company that actually knows how to support a platform.
- MBCook 8y agoBecause Java has had such a terrible support record. And it’s not like Oracle has any products they support. Microsoft has quite a history of creating and then abandoning different APIs and technologies. This is all pointless hyperbole. This isn’t that big change in the Java ecosystem. It’s not like it’s going to cost $20 to run Java at all. The price is for running Oracle’s Java... that’s older than six months... that you want security updates for. You can run a different JVM, you can get the security patches from someone else, you can go without them. You can pay someone other than Oracle. Free options still exist.
- scarface74 8y agoMicrosoft is known for s lot of things, but breaking backwards compatibility and short term support aren’t two of them.
- Skinney 8y agoMicrosoft broke backwards compatibility when they introduced generics in .NET 2.0. Java, on the other hand, is still getting flac for refusing the break backwards compatibility to introduce reified generics.
- scarface74 8y agoHow did generics break backwards compatibility?
- Skinney 8y ago> Bytecode or ‘Intermediate Language’ (IL) changes. The main > place that the implementation of generics in the CLR differs > from the JVM is that they are ‘fully reified’ instead of > using ‘type erasure’, this was possible because the CLR > designers were willing to break backwards compatibility, > whereas the JVM had been around longer so I assume that this > was a much less appealing option. For more discussion on >this issue see Erasure vs reification and Reified Generics > for Java. Update: this HackerNews discussion is also worth a read. http://mattwarren.org/2018/03/02/How-generics-were-added-to-.NET/ http://mattwarren.org/2018/03/02/How-generics-were-added-to-...
- L0stLink 8y agoWhich to me is a good thing, Microsoft ripped the band-aid early and got it over with instead of delaying the inevitable.
- haglin 8y agoI think generics in Java works pretty well. Should it have been there from the beginning. Yes, but it would have delayed the release of JDK 1.0. People often complain about type erasure, but I have seen very few examples of everyday programming where it would have helped. I think type erasure was a reasonable compromise. The only real use case I can see is value types. You want List<int> to be backed by array of ints, not Integer objects. But there are already plans to add this to JVM, once value types are added.
- pjmlp 8y agoI have a couple of WP devs that want to talk with you.
- tannhaeuser 8y agoThe alternative is, and always has been, a language and runtime lib that is spec'd in the open and has multiple implementations to choose from. Though choices have become limited. Only C, C++, and JavaScript seem to fit the bill AFAICS.
- jerven 8y agoAnd Java is moving into this world as well. It always had multiple implementations but mostly people used the Sun and then Oracle binaries. Now they are saying get your implementation from your linux vendor (e.g. gcc like) or pay us (intel C compiler like) if you want long term support.
- nextlittleowl 8y agoOr LISP.
- svetlyak40wt 8y agoCommon Lisp?
- ric2b 8y agoPython as well
- afroboy 8y agoIsn't .Net Core has 3 years LTS support? and Java LTS are 4 years support? and are you comparing the huge ecosystem around Java by .Net Core?
- scarface74 8y agoYou aren’t paying Microsoft for long term support for those three years. Are you saying that .Net doesn’t have a robust ecosystem?