4 ms·
Better: Deploy a Lua-based stack. [1][2] I've tried to get a Python stack to build and it's huge, complicated to set up and get running well, and so slow compa
by SomeCallMeTim 14y ago
Better: Deploy a Lua-based stack. [1][2]
I've tried to get a Python stack to build and it's huge, complicated to set up and get running well, and so slow compared to LuaJIT as to be pathetic. A friend was at PyCon surrounding by a bunch of Python hackers who spent more than an hour trying to get Django installed on his server an they failed. If the so-called experts have a hard time with it, then I don't feel so bad for finding it hard myself -- and I wouldn't recommend it to anyone.
Both Lua solutions I linked are easy and fast to install and configure (if you've got a shell, at least), and the Lua stacks are like Node.JS done right. You get coroutines so you get non-blocking code without having to code everything as an awkward callback. And of course you get the awesomeness of Lua instead of having to deal with the mess that is JavaScript.
[1] http://tir.mongrel2.org/ http://tir.mongrel2.org/
[2] http://openresty.org/ http://openresty.org/