Node.js Interview: 4 Questions with Creator Ryan Dahl
bostinnovation.com
Node.js Interview: 4 Questions with Creator Ryan Dahl
1–5 of 5 posts
Re: Node.js Interview: 4 Questions with Creator Ryan Dahl
#2FYI from January 31, 2011.
Re: Node.js Interview: 4 Questions with Creator Ryan Dahl
#3Previously: http://news.ycombinator.com/item?id=2163234
Re: Node.js Interview: 4 Questions with Creator Ryan Dahl
#4>No matter what I did, someone was going to load an existing blocking Lua library in and ruin it.
I don't think this is the case, the most popular library for networking in Lua has been COPAS, which does nonblocking by using coroutines. And even the canonical guide to Lua, PiL http://www.lua.org/pil/, also has a chapter on using coroutines with LuaSocket to download multiple files asynchronously at the same time. Most complaints of Lua are about having too few libraries, so it's interesting to see an argument claiming it has too many.
If anyone is interested in a nonblocking networking library that uses callbacks (similar to node.JS) instead of coroutines for Lua and LuaJIT, I've started such a project here: https://github.com/davidhollander/ox
Re: Node.js Interview: 4 Questions with Creator Ryan Dahl
#5Previously: http://news.ycombinator.com/item?id=2163234
conversation on that is much better than this repost