Node.js - Now With Added Windows
Written by Ian Elliot   
Monday, 21 November 2011

If you have been always meaning to try out Node.js to find out what the fuss is all about the good news is that the latest version, Node.js 0.6, makes it very easy.

Node.js is server side JavaScript. You can use it to create applications that work like web server under the control of a JavaScript application. There is also a growing ecosystem of modules that do all sorts of standard jobs.

Essentially Node.js is JavaScript out of the browser. The only problem was that it only worked well under Linux and to run it under Windows you needed to install Cygwin and jump though various hoops. Given the majority of servers use Linux, this wasn't a huge problem for deployment, but it did stop programmers from trying it out on desktop machines which are still predominantly Windows based.

 

nodejslogo

 

Back in June Microsoft and Joyent announced that they were working on a native Windows port of Node.js. Now we have v0.6.0, the first stable build that includes Windows support.

Just in case you think that this is just a win for Windows programmers there are also a host of general improvements:

  • Native Windows support using I/O Completion Ports for sockets.
  • Integrated load balancing over multiple processes.
  • Better support for IPC between Node instances 
  • Improved command line debugger
  • Built-in binding to zlib for compression 
  • Upgrade v8 from 3.1 to 3.6

The port also involved reworking the core architecture, which happily also improved performance under Linux and against the previous version running under Windows with the help of Cygwin.

There are still some missing components, however. Work is progressing on making it available under Azure and on iisnode, which will enable Node.js to be hosted on IIS. At the moment there is also only an experimental version of the NPM module manager, however things seem to be moving rapidly.

 

nodejslogo

 

Node.js is a very different way of thinking of creating a web application and it is difficult to say if it could have any real effect in the long run. It is certainly true to say that it isn't ready for a production environment as yet, but it is also true that you need to try it out if only to widen your horizons.

See Getting Started with Node.js

More information

Node.js blog

Node.js web site

Download including installers and source code.

To be informed about new articles on I Programmer, subscribe to the RSS feed, follow us on Google+, Twitter or Facebook or sign up for our weekly newsletter.


 

Banner


Chrome 64-Bit For Windows In Beta
05/08/2014

If you are running Windows 7 or later on a 64-bit machine you might be looking froward to having a 64-bit version of Chrome. It is now in the beta channel and you are invited to try out its features a [ ... ]



Robots That Can See Through Walls
21/08/2014

Using WiFi signals a pair of robots can detect unseen features behind thick solid walls and can differentiate between materials, giving the ability to detect the presence of humans.


More News

 

 

 

Last Updated ( Monday, 28 November 2011 )
 
 

   
RSS feed of news items only
I Programmer News
Copyright © 2014 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.