Alex Rivera | Logout

Differences between Narwhal and Node.js

Asked 2010-10-11T06:10:59.220
33

I'm new to Node.js and I have been reading about Narwhal that is a framework based on Rhino.

My questions:

  1. If I'm using Node.js, could I use Narwhal and its libraries/modules?
  2. Aren't the libraries/modules in Narwhal I/O-blocked (why Node.js got this huge popularity)?
  3. Is Node.js only for creating Web servers or is it for creating general applications, just like Narwhal?
Edit
Report

2 Answers

7

I would just add RingoJS to the mix. It is a Rhino-based CommonJS system, but comparing to Narwhal it is much more mature (its primary author has been developing its predecessor Helma for years) and by following both Git repository's development, RingoJS seems to be much more active. Development of Narwhal seems to be kind of slow these days.

answered 2010-10-12T07:23:59.393
1

If you prefer Narhwal's synchronous style, you can also use my Common Node package which allows you to run synchronous Narwhal, RingoJS and other CommonJS compatible packages as well as JSGI web applications on Node.js.

answered 2011-06-20T23:34:04.313

Your Answer