3 ms·
That other popular Java-platform languages exist indeed shows that the Java language is too conservative for some, but that 90% use the Java language shows that
by pron 6y ago
That other popular Java-platform languages exist indeed shows that the Java language is too conservative for some, but that 90% use the Java language shows that its design is in line with what most people want.
And the CLR is about, oh, ten-fifteen years behind OpenJDK in compilation, GC and low-overhead deep profiling and observability. OpenJDK's C2 compiler is pretty much on par with clang in terms of optimisation [1] -- ahead on some, behind on others -- and in terms of sheer innovation and potential, its Graal compiler is probably the biggest breakthrough in compilation of the decade.
[1]: https://youtu.be/0yrBuPiGk8I https://youtu.be/0yrBuPiGk8I
- somethingwitty1 6y agoI would just say that usage isn't equivalent to want. I certainly can't put a number on it, but there is definitely quite a few of us that use Java because we are required to, not because it is what we want or the best tool for the job.
- DaiPlusPlus 6y agoI know the CLR’s runtime performance has room for improvement- but I’m referring to the CLR’s capabilities and “language-enabling”-feature-set.
- meddlepal 6y agoIf you say reified generics I'm going to scream. Other than that one what else does the CLR bring to the table?
- pron 6y agoIts "language-enabling" feature set sucks. Reified generics for reference types force C#'s variance model on any CLR language that wants good code and data interop, and there is no portable good lightweight concurrency primitive. Sure Java is missing some important stuff like value types and tail call elimination (I don't think the CLR has the latter, either), both being addressed, but the CLR suffers from some early decisions that are nearly impossible to fix even if MS did show it had the inclination to fix them. Overall, Java is a more compelling compilation target than .NET, and Truffle is making it so much more so.