Nowhere. There is no SPARC support.
> There seems to be an indication that V8 is not a cross-platform
> JavaScript kit, capable of running under SPARC. Would NodeJS work
> under a JavaScript engine which supports other platforms more broadly?
V8 indeed doesn't support SPARC. It's deeply integrated into Node so
swapping it for another JS engine is non-trivial and pretty much
amounts to rewriting Node.
If you're serious about this, you want to either port V8 or create a
V8 emulation layer. v8monkey is one such attempt.
I admit I don't quite understand the question.
If it's why Node and V8 don't run on SPARC, the answer is "because
it's too niche".
If it's why Node uses V8 and not SpiderMonkey, well, you should ask
Ryan but there are a couple of reasons (V8 being a hell of a lot
faster at the time, having a better API, etc.).
> We don't need a lot - NET-SNMP hooks, ICMP, HTTP, and
> a non-blocking framework compatible with SPARC and Intel.
> ARM is a bonus, people have Node running on embedded
> systems like re-purposed router appliances (i.e. OpenWRT?)
>
> Is there decent cooperation between the SpiderNode
> and NodeJS teams, to provide users the ability to
> build Node applications under multiple platforms?
SpiderNode kind of petered out (it was only a hobby project for the
people working on it) so there is not much to cooperate on, I'm
afraid.
As far as node using V8, it was the best at the time, and changing is
just too expensive to be worth the cost for most people. I'd write a
spidernode just for the fun of it if I had the time (it can't be much
harder than my luvit project) If I did do a node version based on
spider monkey, I would do it different than the last attempt. I would
re-implement all the libuv bindings from scratch using SM native APIs.
Yes this means that native addons written for V8 won't work in this
new node port, but that's ok.
-Tim Caswell
> --
> 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
> To unsubscribe from this group, send email to
> nodejs+un...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
On Dec 28, 11:01 am, Ben Noordhuis <i...@bnoordhuis.nl> wrote:
> On Wed, Dec 28, 2011 at 15:59, Dave <davidha...@gmail.com> wrote:I guess I do not understand the design decision to bind Node
> > It looks like Mozilla forked NodeJS (SpiderNode) with a
> > a less proprietary JavaScript engine (SpiderMonkey) for
> > potentially better cross-platform characteristics.
>
> > I don't understand the history - it seems crazy to build Node
> > with cross-platform JavaScript, targeting a proprietary CPU
> > architecture. Coming from an Open community, I would
> > appreciate any historical context, if you have insight.
>
> I admit I don't quite understand the question.
so closely to a single JavaScript Engine vendor, when there
are so many other JavaScript Engines out there.
I understand the preference may have been driven by performance,
but the more I read on the history of some community members
wanting more platform choices and Node contributors walking
out of meetings - it makes me wonder.
- I know some Node developers are from Sun, who may
be disinterested [have an axe to grind] with Oracle.
- Some may be Google enthusiasts, who may not
be so interested in seeing non-Google engines used.
- Some may just be Intel bigots, pushing for the death
of Open Systems based upon open CPU architectures
I am really trying to understand why Node is where it is
today and what is keeping Node from being cross-platform.
If the core team and contributors have made up their mind
and non-Intel platforms are forever cut out of the loop, I think
people need to understand that.
Is there less antagonism towards people who want to use Node,
> > We don't need a lot - NET-SNMP hooks, ICMP, HTTP, and
> > a non-blocking framework compatible with SPARC and Intel.
> > ARM is a bonus, people have Node running on embedded
> > systems like re-purposed router appliances (i.e. OpenWRT?)
>
> > Is there decent cooperation between the SpiderNode
> > and NodeJS teams, to provide users the ability to
> > build Node applications under multiple platforms?
>
> SpiderNode kind of petered out (it was only a hobby project for the
> people working on it) so there is not much to cooperate on, I'm afraid.
but have multi-vendor open systems production environments?
That wasn't a meeting, that was Brendan Eich's talk about SpiderNode.
I wouldn't read too much into it, people walk out of talks all the
time (including mine *sigh*).
> I believe a contribution may be pending from SpiderNode in May 2011.
> Coupled with talk including SpiderNode at "NodeConf 2011", this may
> be a contributing factor to why SpiderNode "petered out", after
> positive press in the trade journals for both NodeJS and SpiderNode.
That contribution was a performance improvement for a number of edge
cases, not anything crucial.
Let me reiterate that AFAIK it's simply a lack of time and resources.
Feel free to ask the SpiderNode guys, they hang out in our IRC
channel.
> If people resume actively working SpiderNode, will contributions
> required to support other CPU architectures via the alternate JavaScript engine
> be readily received up-stream? (No one wants a fork, just compatibility.)
No. There is simply not enough developer capacity to maintain two JS engines.
> Would core Node developers prefer another path to supporting other
> CPU architectures?
Yes. Port V8 to SPARC. That's a non-trivial task so ping the V8 guys
before you start. They focus mostly on x86 and ARM and might not be
interested in SPARC support.
Even then, support in Node will be on a 'best effort' basis (unless
you're willing to enter into a support contract with Joyent). Like I
said, there is only so much developer capacity to go around and it
doesn't make sense to spend a lot of time on an architecture that only
a handful of people use.
Case study: MIPS. I test it from time to time but it's a futile
effort. I know of exactly one other guy that runs Node on MIPS. :-/
Hi Ilya,
Old thread, but very thankful for the reply.
NodeJS Vert-X Business-Need
Yes......Yes.... Intel Solaris
No.......Yes.... SPARC Solaris
Yes..... Yes.... Non-Blocking File API
Yes..... Yes.... Non-Blocking HTTP API
??....... ??..... Non-Blocking ICMP API
??....... ??..... Non-Blocking SNMP API
Are there non-blocking API's for NodeJS or Vert-X for stateless ICMP
and SNMP?
The inclusion of a JVM for Vert-X (vs V8 on NodeJS) is a huge bonus,
since SNMPv3 requires encryption, and the Java framework will
transparently support the dozens of crypto cores native to the SPARC T
processors.