Java: here to stay
Java: here to stay
Posted Jul 6, 2020 2:32 UTC (Mon) by marcH (subscriber, #57642)In reply to: Book: Perl 7: A Risk-Benefit Analysis by tjc
Parent article: Book: Perl 7: A Risk-Benefit Analysis
The sweet spot between human vs machine readable and the lack of kludges like pre-processing also allow extremely powerful IDEs.
Its small market share on the desktop is just the tip of an "enterprise" and Android[2] iceberg that is everything but melting. If not in Java itself, new projects will still be started in something very close to it for the next couple decades. Programming in Java is rarely fun or exciting or ground breaking but almost always "good enough".
I wish the COBOLs of the next decades will be unsafe languages but considering people prefer buying "security products" rather than secure products I'm not holding my breath.
https://alexgaynor.net/2019/apr/21/modern-c++-wont-save-us/
[1] Try showing random pieces of Java code to non-Java developers. Try the same with Perl or COBOL.
[2] BTW, how is starting up a Java app on a mobile generally faster than a JVM on a PC? What is the Android "magic" there?
Posted Jul 6, 2020 2:42 UTC (Mon)
by Cyberax (✭ supporter ✭, #52523)
[Link] (1 responses)
Modern Android versions also precompile DEX classes into native code.
Posted Jul 6, 2020 4:17 UTC (Mon)
by marcH (subscriber, #57642)
[Link]
Conversely, this is another reason why we are (like it or not) near the end of Java: https://en.wikipedia.org/wiki/List_of_JVM_languages
> The project attracted a lot of theorists and experimentalists that didn't have much of an interest in releasing stable code,
Java: here to stay
Android keeps an initialized copy of JVM in a special process ("zygote"). When it wants to launch a new application, this process is forked and the new instance uses all the pre-initialized classes.
Java: here to stay
The reason why so many languages target the JVM is because of the quality of the specification a.k.a "It Just Works". A probably boring but solid engineering foundation, exactly the opposite of:
