You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Ryan 1a126ed11c use the WAF build system 16 years ago
deps use the WAF build system 16 years ago
spec change HTTPServer constructor. Now: HTTPServer(host, port, onrequest); 16 years ago
src use the WAF build system 16 years ago
test allow null host parameter to listen on localhost 16 years ago
.gitignore gitignore 16 years ago
.gitmodules add dependencies: libeio, libev, v8 16 years ago
README add test/test_http_server_echo and 'make test' 16 years ago
TODO more todo items 16 years ago
http_api.js working towards working keep-alive. need tests 16 years ago
ragel.py use the WAF build system 16 years ago
tcp_example.js allow null host parameter to listen on localhost 16 years ago
waf use the WAF build system 16 years ago
wscript use the WAF build system 16 years ago

README

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