{"id":2007,"date":"2018-08-16T18:23:47","date_gmt":"2018-08-16T18:23:47","guid":{"rendered":"http:\/\/capture.ccio.us\/?p=2007"},"modified":"2018-08-16T18:23:47","modified_gmt":"2018-08-16T18:23:47","slug":"oracle-proposes-removing-nashorn-java-hard","status":"publish","type":"post","link":"https:\/\/capture.club\/portal\/2018\/08\/16\/oracle-proposes-removing-nashorn-java-hard\/","title":{"rendered":"Oracle Proposes Removing Nashorn from Java &#8216;Because it&#8217;s hard.&#8217;"},"content":{"rendered":"<body><p><\/p><img decoding=\"async\" class=\"size-medium wp-image-2012 aligncenter\" src=\"http:\/\/capture.ccio.us\/wp-content\/uploads\/2018\/08\/Screenshot-2018-08-16-12.22.54-300x158.png\" alt=\"\" width=\"300\" height=\"158\" loading=\"lazy\">\n<p>When <a href=\"http:\/\/www.oracle.com\/us\/corporate\/press\/018363\">Oracle purchased Sun Microsystems<\/a> and thus took over custody of the Java <a href=\"https:\/\/en.wikipedia.org\/wiki\/Java_(programming_language)\">programming language<\/a>, many of us in the community were concerned that Oracle\u2019s tendency towards side-tracking projects it didn\u2019t find profitable would affect the venerable language.<\/p>\n<p><a href=\"https:\/\/arstechnica.com\/information-technology\/2016\/07\/how-oracles-business-as-usual-is-threatening-to-kill-java\/\">We\u2019ve not been proven wrong.<\/a><\/p>\n<p>In it\u2019s latest lazy, bone-headed move, the <a href=\"http:\/\/openjdk.java.net\/jeps\/335\">decision to remove Nashorn<\/a> from Java in JDK 11 should be a warning to all that the widely-used language is in peril.<\/p>\n<p>Why?<\/p>\n<h2>Because: JavaScript For the Win!<\/h2>\n<p>Look, let\u2019s be clear:\u00a0 Technology trends are moving towards functional languages like JavaScript, not away from.\u00a0 Next-generation languages like <a href=\"https:\/\/golang.org\/\">Go<\/a> and platforms like <a href=\"https:\/\/nodejs.org\/en\/\">NodeJS<\/a> are clearly evidence for this trend.\u00a0 The Internet-of-Things (IoT) runs largely on these languages, and make extensive use of JavaScript.\u00a0 The rapidly emerging trend to use Artificial Intelligence, Machine Learning and Predictive Analytics all rely heavily on functional languages like JavaScript.<\/p>\n<p>Again: why?<\/p>\n<p>Because they <strong><em>are<\/em><\/strong> <a href=\"https:\/\/en.wikipedia.org\/wiki\/Functional_programming\">functional<\/a>.<\/p>\n<p>And when you\u2019re talking about generating random forests quickly and on the fly, you really need a functional language like JavaScript.<\/p>\n<p>So when Oracle originally deprecated Rhino and integrated Nashorn directly into the JVM, I was thrilled.\u00a0 Finally, the procedural limitations of a strictly-typed language like Java could be integrated with the loosely-typed, come-as-you-are functionality of JavaScript.\u00a0 It was a beautiful marriage, in my opinion:\u00a0 Java and JavaScript, <a href=\"http:\/\/capture.ccio.us\/java-javascript-living-together\/\">living together in harmony<\/a>.\u00a0 \u00a0The marriage of these two opposites into the quasi-hybrid language that is Nashorn JavaScript was a truly visionary move, that appears to have been de-railed by bureaucrats and sloth.<\/p>\n<p>In short:\u00a0 It\u2019s a foolish move that will ultimately hurt the language.\u00a0 Java needs Nashorn to be able to compete with Next-gen languages.\u00a0 Without this evolution \u2014 which should be enhanced rather than side-lined \u2014 the language will wind up on the scrap heap with it\u2019s forefathers, COBOL and FORTRAN, etc.<\/p>\n<p>You remember those languages, right?<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<\/body>","protected":false},"excerpt":{"rendered":"<p>When Oracle purchased Sun Microsystems and thus took over custody of the Java programming language, many of us in the community were concerned that Oracle\u2019s tendency towards side-tracking projects it didn\u2019t find profitable would affect the venerable language. We\u2019ve not been proven wrong. In it\u2019s latest lazy, bone-headed move, the decision to remove Nashorn from [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"pagelayer_contact_templates":[],"_pagelayer_content":"","footnotes":""},"categories":[],"tags":[],"class_list":["post-2007","post","type-post","status-publish","format-standard","hentry"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/capture.club\/portal\/wp-json\/wp\/v2\/posts\/2007","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/capture.club\/portal\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/capture.club\/portal\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/capture.club\/portal\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/capture.club\/portal\/wp-json\/wp\/v2\/comments?post=2007"}],"version-history":[{"count":0,"href":"https:\/\/capture.club\/portal\/wp-json\/wp\/v2\/posts\/2007\/revisions"}],"wp:attachment":[{"href":"https:\/\/capture.club\/portal\/wp-json\/wp\/v2\/media?parent=2007"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/capture.club\/portal\/wp-json\/wp\/v2\/categories?post=2007"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/capture.club\/portal\/wp-json\/wp\/v2\/tags?post=2007"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}