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


Hour Of AI With Funding From Microsoft Elevate
13/08/2025

At the launch event for Microsoft Elevate Hadi Partovi, CEO of Code.org, outlined three new initiatives to ensure that all students are educated in AI in a way that gives them a headstart in AI Engine [ ... ]



Robot Mall, A Bejing 4S Store
15/08/2025

A new robot shop has opened in Beijing to coincide with the World Robot Conference there. With over 100 products from 40 Chinese manufacturers, you can buy everything from mechanical butlers to human- [ ... ]


More News

 

 

 

Last Updated ( Monday, 28 November 2011 )