|
|
|
|
|
by TheZenPsycho
4839 days ago
|
|
I saw this and for a while I thought "Oh yeah, that's pretty cool, but why isn't the lua community into it?"
Then I really looked into luasocket[1], which uses a this api called ltn12, based around dataflow programming concepts. In most respects this is a much much more elegant way of doing network programming than the node.js way. This is the sort of thing you would want to implement on top of node.js to make the callback hell easier to deal with- and compared to luasocket, luvit is a step backward. But this is the standard way of doing networking in lua. [1]: http://w3.impa.br/~diego/software/luasocket/ |
|
The idea sounds neat, but I'm wary of concepts that aren't seeing real-world use. Node.js has momentum, Luvit has a little bit of momentum, this? In the web development community, I've never heard of the approach, which suggests using it might be more DIY than I'd like. Also the copyright date is 2004-2007. Abandoned?