mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 21:19:50 +01:00
Cross-platform JavaScript runtime environment
https://nodejs.org/
8b71ba5e68
Had to disable Init_tcp because it starts an oi_async thread pool and prevents the node loop from exiting when no watchers remain. Not sure how to deal with this problem in general because eventually we'll need the thread pool. |
||
---|---|---|
deps | ||
test | ||
.gitignore | ||
.gitmodules | ||
example.js | ||
http_api.js | ||
Makefile | ||
node_http.cc | ||
node_http.h | ||
node_tcp.cc | ||
node_tcp.h | ||
node_timer.cc | ||
node_timer.h | ||
node.cc | ||
node.h | ||
README | ||
tcp_example.js |
WHEREAS, Evented, asynchornous programming better models reality; and WHEREAS, Servers organized around event loops are more efficent; and WHEREAS, The usage of threads has complicated computer programming; and WHEREAS, Most operating systems do not provide asynchonous file system access. WHEREAS, Javascript is a language without a concept of I/O or threads; and WHEREAS, Users familar with using Javascript in the web browser already program using events and callbacks; and WHEREAS, The V8 javascript comes free of I/O and threads; and WHEREAS, The V8 javascript compiles Javascript code directly to Assembler; and WHEREAS, The libev event loop abstraction provides access to the best event loop interface on each system. Now, therefore: This set server and client libraries were made to build simple but fast servers. They are provided free of charge under a permissive simple license. Submitted by Ryah Dahl, Programmer Tim Becker, Programmer March 1, 2009