Let me tell you about Live Blog: NodeConf Keynote by Node.js Creator Ryan Dahl I’m in NodeConf the first day. This is an impressive participation for this event is the first time for a new project was not until version 1.0 to date.
D. Ryan, the creator of Node.js is the keynote speaker. This is what he has to say about this project where they are, including why and how Node.js comes with Windows.
Tom Hughs-enters D. Croucher Ryan calls him a dictator is better.
D talks Node.js changes made so far. The month of May 2009 was the initial version 0.4 was released in February this year, with a focus on getting SSL to work properly.
(5) is the next version, and follow the following objectives:
The capabilities of Windows
The Windows operating system is the most popular in the world, so they want to work on it.
You can run Node.js in Cygwin, but sub-optimal.
Is it possible to make a decent service in Windows? Yes, but not with the port directly to the mother.
Good Unix server means:
Group intake between a non-binding
- [I missed the second item]
Windows and select () and blocking shots, but select () is not fixed in time.Decreases significantly with more than 100 shots.
Windows has a WSAEventsSelect (), but should be used with WSAWaitForMultipleEvents (), which is limited to 64 shots per thread.
You can make a great on Windows server using the port I / S complete. In
Changes Unix file descriptor wait to make non-blocking I / S
In Windows, and get work asynchronously notified both the shots and finishing.
IOCP supports sockets, pipes and regular files. In other words, Windows has a capacity of asynchronous correctly.
According to Dahl API node could be reprogrammed to support the Windows API with minimal disturbance.
What is needed is an abstraction layer on Unix and Windows patterns of input / output. There have been several attempts (libev, libevent, boost ASIO), but none of them is not acceptable.
Team building node abstraction layer has called Libyan.
Socket TCP / multi-platform server is running now.
It would be easy to install – install a node can be a single executable, like putty