News for hackers. Stuff that matters.
Re:Why I went from Python to Go (and not node.js) by ilaksh on Friday September 14, 2012 @08:36PM (#4524715)
The idea with node is that you dont normally need multiple threads or processes because you have nonblocking io.

    http = require 'http'
    server = http.createServer 'localhost', (req, res) ->
      res.writeHead 200
      res.end 'ok'
    app = server.listen 3000
Re:Why I went from Python to Go (and not node.js) by ilaksh on Saturday September 15, 2012 @03:36AM (#4525605)
I made a mistake, did not mean to include 'localhost' in there.