Message from discussion
Node.jar - Java port by Oracle
Received: by 10.43.81.137 with SMTP id zy9mr2295032icb.0.1350735321067;
Sat, 20 Oct 2012 05:15:21 -0700 (PDT)
X-BeenThere: nodejs@googlegroups.com
Received: by 10.50.0.208 with SMTP id 16ls5797592igg.1.canary; Sat, 20 Oct
2012 05:15:11 -0700 (PDT)
Received: by 10.42.32.8 with SMTP id b8mr2271362icd.12.1350735311194;
Sat, 20 Oct 2012 05:15:11 -0700 (PDT)
Received: by 10.50.57.13 with SMTP id e13msigq;
Fri, 19 Oct 2012 08:46:01 -0700 (PDT)
Received: by 10.68.190.35 with SMTP id gn3mr545672pbc.13.1350661561161;
Fri, 19 Oct 2012 08:46:01 -0700 (PDT)
Date: Fri, 19 Oct 2012 08:46:00 -0700 (PDT)
From: cpurdy <cameron.pu...@gmail.com>
To: nodejs@googlegroups.com
Message-Id: <eaf987b4-21f0-4451-90bc-548f3bcc1978@googlegroups.com>
In-Reply-To: <CAH_OBifEiWCcF1-ir80Rg_=L8LRrQu2LBULj4UB7NqOc1X-aeQ@mail.gmail.com>
References: <0e0f7074-76dc-4b4c-ac5f-8612b12eb832@googlegroups.com>
<50734F44.10100@gmail.com>
<CA+CQ937g5ec9rq8qSW9EtEYxOAW+O9uSkLMqqLy-=5f_EKwiXA@mail.gmail.com>
<CAHQurc81XCc9F451t6yPMdTLZ=nMgDXVaagQXi+3wUmgpjAeLw@mail.gmail.com>
<CAH_OBifEiWCcF1-ir80Rg_=L8LRrQu2LBULj4UB7NqOc1X-aeQ@mail.gmail.com>
Subject: Re: [nodejs] Node.jar - Java port by Oracle
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_797_25299854.1350661560104"
------=_Part_797_25299854.1350661560104
Content-Type: multipart/alternative;
boundary="----=_Part_798_12885647.1350661560104"
------=_Part_798_12885647.1350661560104
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
The Oracle JVM is now available on ARM. (I'm not sure if the ARM port is
open sourced as part of OpenJDK or not.) At JavaOne this year, Oracle
announced Java for Embedded; a significant amount of the customers and
partners in this area are using ARM. Among other things, Java for Embedded
supports the Java EE 6 standard, which includes lightweight web profile
development support (using the Glassfish server -- see
http://glassfish.org).
Nashorn is built on top of the JVM, and thus will run on any compliant JVM
implementation on any platform. It should be pretty easy to run Node on ARM
using Nashorn. And of course, V8 can also run on ARM.
There are still a number of micro-benchmarks in which Nashorn trails V8,
but it is able to take advantage of the Hotspot dynamic native compilation
(using runtime profiling to hyper-optimize hot spots within the code),
which should make the overall performance significantly better. The JVM is
also designed to take advantage of multi-core and multi-threaded
architectures, which is an area that ARM is rapidly growing into.
Peace,
Cameron Purdy | Oracle
*(Working for Oracle, but speaking as an individual and writing my own
personal opinions.)
*
On Tuesday, October 9, 2012 4:25:46 PM UTC-4, shawn wilson wrote:
>
> It would also be interesting to have a full node stack on android... and I
> hear ARM is discontinuing their native Java support, but if I'm wrong,
> native node on something like a cheap NXP chip would be cool too. I doubt
> this just because I'm sure there are requirements in Java I skimmed over in
> the headlines, but just a thought / hope ;)
> On Oct 8, 2012 9:03 PM, "Ben Noordhuis" <in...@bnoordhuis.nl <javascript:>>
> wrote:
>
>> On Tue, Oct 9, 2012 at 2:21 AM, Stewart Mckinney <lord...@gmail.com<javascript:>>
>> wrote:
>> > I'm just curious as to why having Node run on top of the Java run time
>> is
>> > better than say, vanilla C++ compiled Node running naively. Doesn't it
>> run
>> > on pretty much every popular platform now, anyway?
>>
>> The major ones, yes. But there are some high margin, low volume
>> architectures like POWER and S/390 that V8 doesn't support (and hence
>> node.js) but the JVM does. Think AIX, mainframes, etc.
>>
>> There has been some corporate interest in running node on such
>> architectures but the time and money to get (and keep) it ported isn't
>> worth it. node.jar could be a viable alternative.
>>
>> --
>> Job Board: http://jobs.nodejs.org/
>> Posting guidelines:
>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
>> You received this message because you are subscribed to the Google
>> Groups "nodejs" group.
>> To post to this group, send email to nod...@googlegroups.com<javascript:>
>> To unsubscribe from this group, send email to
>> nodejs+un...@googlegroups.com <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>
>
------=_Part_798_12885647.1350661560104
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
The Oracle JVM is now available on ARM. (I'm not sure if the ARM port is op=
en sourced as part of OpenJDK or not.) At JavaOne this year, Oracle announc=
ed Java for Embedded; a significant amount of the customers and partners in=
this area are using ARM. Among other things, Java for Embedded supports th=
e Java EE 6 standard, which includes lightweight web profile development su=
pport (using the Glassfish server -- see http://glassfish.org).<br><br>Nash=
orn is built on top of the JVM, and thus will run on any compliant JVM impl=
ementation on any platform. It should be pretty easy to run Node on ARM usi=
ng Nashorn. And of course, V8 can also run on ARM.<br><br>There are still a=
number of micro-benchmarks in which Nashorn trails V8, but it is able to t=
ake advantage of the Hotspot dynamic native compilation (using runtime prof=
iling to hyper-optimize hot spots within the code), which should make the o=
verall performance significantly better. The JVM is also designed to take a=
dvantage of multi-core and multi-threaded architectures, which is an area t=
hat ARM is rapidly growing into.<br><br>Peace,<br><br>Cameron Purdy | Oracl=
e<br><i>(Working for Oracle, but speaking as an individual and writing my o=
wn personal opinions.)<br></i><br><br><br>On Tuesday, October 9, 2012 4:25:=
46 PM UTC-4, shawn wilson wrote:<blockquote class=3D"gmail_quote" style=3D"=
margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;=
"><p>It would also be interesting to have a full node stack on android... a=
nd I hear ARM is discontinuing their native Java support, but if I'm wrong,=
native node on something like a cheap NXP chip would be cool too. I doubt =
this just because I'm sure there are requirements in Java I skimmed over in=
the headlines, but just a thought / hope ;)</p>
<div class=3D"gmail_quote">On Oct 8, 2012 9:03 PM, "Ben Noordhuis" <<a h=
ref=3D"javascript:" target=3D"_blank" gdf-obfuscated-mailto=3D"jXNZq-Z1434J=
">in...@bnoordhuis.nl</a>> wrote:<br type=3D"attribution"><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p=
adding-left:1ex">
On Tue, Oct 9, 2012 at 2:21 AM, Stewart Mckinney <<a href=3D"javascript:=
" target=3D"_blank" gdf-obfuscated-mailto=3D"jXNZq-Z1434J">lord...@gmail.co=
m</a>> wrote:<br>
> I'm just curious as to why having Node run on top of the Java run time=
is<br>
> better than say, vanilla C++ compiled Node running naively. Doesn't it=
run<br>
> on pretty much every popular platform now, anyway?<br>
<br>
The major ones, yes. But there are some high margin, low volume<br>
architectures like POWER and S/390 that V8 doesn't support (and hence<br>
node.js) but the JVM does. Think AIX, mainframes, etc.<br>
<br>
There has been some corporate interest in running node on such<br>
architectures but the time and money to get (and keep) it ported isn't<br>
worth it. node.jar could be a viable alternative.<br>
<br>
--<br>
Job Board: <a href=3D"http://jobs.nodejs.org/" target=3D"_blank">http://job=
s.nodejs.org/</a><br>
Posting guidelines: <a href=3D"https://github.com/joyent/node/wiki/Mailing-=
List-Posting-Guidelines" target=3D"_blank">https://github.com/joyent/<wbr>n=
ode/wiki/Mailing-List-<wbr>Posting-Guidelines</a><br>
You received this message because you are subscribed to the Google<br>
Groups "nodejs" group.<br>
To post to this group, send email to <a href=3D"javascript:" target=3D"_bla=
nk" gdf-obfuscated-mailto=3D"jXNZq-Z1434J">nod...@googlegroups.com</a><br>
To unsubscribe from this group, send email to<br>
<a href=3D"javascript:" target=3D"_blank" gdf-obfuscated-mailto=3D"jXNZq-Z1=
434J">nodejs+un...@<wbr>googlegroups.com</a><br>
For more options, visit this group at<br>
<a href=3D"http://groups.google.com/group/nodejs?hl=3Den?hl=3Den" target=3D=
"_blank">http://groups.google.com/<wbr>group/nodejs?hl=3Den?hl=3Den</a><br>
</blockquote></div>
</blockquote>
------=_Part_798_12885647.1350661560104--
------=_Part_797_25299854.1350661560104--