To avoid confusion, here’s the cheat-sheet:
- V8Monkey is SpiderMonkey with V8’s API around it. We are not done emulating the full V8 API.
- Because we haven’t managed to perfectly emulate the full V8 API, the few language-level extensions (e.g.,
Error.captureStackTrace), and the V8 build system, SpiderNode is a clone of Node with V8Monkey integrated and (in a few cases we want to get rid of) hacked in place of V8.
This slide should speak for itself.
We are not out to make a maintained, competing fork of Node, just a friendly downstream that should go away as soon as possible. We aren’t selling anything to Node users.
We are trying to improve SpiderMonkey’s API, test Harmony JS language features in the Node setting, and have fun learning about the new JS server side.
These four slides are straight from my JSConf.us 2011 talk. I went fast since a lot of NodeConf attendees were at JSConf, but a good number of hands did not go up when I asked who attended both conferences.
Generators are winning, and they are worth playing with and investigating in SpiderNode and of course Firefox and other SpiderMonkey embeddings (also in Rhino). They are not the last word on the “anti-function-nesting” topic, for sure. I’m pretty sure there is no “last word”.
This is an even shorter demo. I switched to a terminal window, fired up
$ ./node helloworld.js, loaded
http://127.0.0.1:10337/ into a fresh Firefox window, and pressed reload repeatedly to show the counter incrementing.
Node really did break the mold when it comes to ease of writing server code that you can get running super-fast, using JS and lots of the client-side knowledge you may already have.
Join us on IRC and the mailing list, we have a lot of work still to do, and we’re having a ton of fun.