Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

node.js

Name: Anonymous 2010-12-02 15:25

var http = require('http');
http.createServer(function (req, res) {
    res.writeHead(200, {'Content-Type': 'text/plain'});
    res.end('GRUNNUR\n');
}).listen(80, "'0.0.0.0');



What do you think prog? It's kind of like twisted for python, except the whole language is designed around the event loop and non blocking I/O.

http://nodejs.org/

Name: Anonymous 2010-12-03 3:33

>>1

require();
createServer().listen();



I have a theory:

``The easier it is to create/listen to sockets in a given programming/scripting language, the shittier the aforementioned programming/scripting language is.''
    --Xarnonymous

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List