I forgot to CC us, but in case anyone is interested...
Begin forwarded message:
> From: Tom Robinson <
tlrob...@gmail.com>
> Date: November 28, 2009 6:08:10 PM PST
> To: nodejs <
nod...@googlegroups.com>
> Subject: Re: How batteries included is node supposed to be?
> Reply-To:
nod...@googlegroups.com
>
> This seems like an appropriate place for me to chime in...
>
> I'd like to propose some sort of collaboration between Node and
> Narwhal (and CommonJS). So far their goals have been pretty
> orthogonal: Node is very focused on evented IO, while Narwhal is more
> focused on the "batteries included" stuff, package management, and
> CommonJS APIs. I think both are important for the success of
> JavaScript outside of the browser. I also believe server-side
> JavaScript hasn't been more popular in the past in part due to the
> lack of interoperability. Node's use of the CommonJS module system is
> a great start.
>
> Narwhal is designed to work with multiple JavaScript interpreters.
> Currently there are "engines" for Rhino, JavaScriptCore, and
> XULRunner. Node could probably replace Narwhal's JavaScriptCore
> engine. It would be great to have Node as the main Narwhal engine.
>
> Narwhal includes a package manager which works well (packages are
> trivial to host on GitHub) and has quite a few packages already. Many
> of the packages don't require CommonJS's synchronous APIs and thus
> could be useful in Node. At some point we'll switch to a shared
> CommonJS package repository.
>
> In addition to CommonJS modules and testing there are a few areas
> where I'd like to see Node work with CommonJS on standardization, in
> particular binary data types, promises, packages, and asynchronous
> JSGI. I'd also like to see Node's asynchronous APIs (or something
> similar) make their way into CommonJS.
>
> I know Ryan wants to focus on Node's core functionality, but if anyone
> else is interested in working on unifying these projects let me know.
>
> -tom
>
> --
> tlrobinson{.net,@
gmail.com, on twitter}
>
>
> On Nov 28, 10:15 am, Karl Guertin <
grayr...@gmail.com> wrote:
>> I've been working on the CommonJS conversion for the tests* and I'm
>> writing/planning to write a reasonable amount of generally reusable
>> code for the runner: color term escaping, option parsing, utility
>> functions that JS is missing and every JS library adds back in (e.g.
>> about 60% of narwhal/lib/util.js), etc. My question is whether this
>> sort of thing belongs in node's standard modules or whether I should
>> package it all up as my own library.
>>
>> I know the goal for node is to be low level, but what is low level? I
>> come from Python, so my idea of a stdlib would include all of the
>> above and they're all pretty useful regardless of what you're making.
>> I know there's a line, e.g. a port of SproutCore's data layer would
>> be
>> right out, but I'm not sure of the line's location.
>>
>> * assert.js is done, converted from Thomas' implementation in
>> narwhal,
>> but is untested due to my desire to dogfood. I've got good size
>> chunks
>> of the rest done. I'll have it out on github once assert and the
>> runner are working and before I get to converting the current unit
>> tests.
>
> --
>
> 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
> .
>
>