[erlang-questions] node.js vs erlang

Miles Fidelman mfidelman@REDACTED
Wed Jun 18 04:25:58 CEST 2014

Raoul Duke wrote:
>> Let's not forget what node.js is, and it's intent:  It's an implementation
>> of server-side javascript, pure and simple.
> hrm, i do not believe that statement is correct. something like Rhino
> would more fit that statement, i think. or even just V8. node = V8 +
> more stuff, so i think that sorta disproves what you wrote?
> _______________________________________________

Not quite.  V8 is a javascript engine, as is Rhino, as is SpiderMonkey, 
as is WebKit, etc.  In particular, V8 is the javascript engine for the 
Chrome browser.  node wraps glue around it to create a server-side 

A couple of references from http://nodejs.org/about/ - both 'intro to 
node.js' type slide decks from Ryan Dahl - who is kind of the ultimate 
authority, in that he's the author of node:

Slide 2 (right after the cover) of http://nodejs.org/jsconf2010.pdf 
starts with this statement: "node.js: Evented Server-side Javascript"

A slightly earlier version 
(http://s3.amazonaws.com/four.livejournal/20091117/jsconf.pdf) says this 
(again, slide 2):

in brief:
Server-side Javascript
Built on Google’s V8
Evented, non-blocking I/O. Similar to
EventMachine or Twisted.
CommonJS module system.
8000 lines of C/C++, 2000 lines of
Javascript, 14 contributors.

In theory, there is no difference between theory and practice.
In practice, there is.   .... Yogi Berra

More information about the erlang-questions mailing list