Page 1 of 1
Lua on a web server (heroku)
Posted: Tue Feb 07, 2012 8:45 am
by kikito
This is not exactly LÖVE-related, but Lua-related.
There are some projects for running Lua in a web server, but they seem very limited and minor.
I was surprised this morning when I read that someone was able to run Lua in the
heroku stack (which was initially ruby-only, but has extended to support other languages).
Here is the relevant link:
http://leafo.net/posts/lua_on_heroku.html
Re: Lua on a web server (heroku)
Posted: Tue Feb 07, 2012 10:59 am
by coffee
kikito wrote:This is not exactly LÖVE-related, but Lua-related.
There are some projects for running Lua in a web server, but they seem very limited and minor.
I was surprised this morning when I read that someone was able to run Lua in the
heroku stack (which was initially ruby-only, but has extended to support other languages).
Here is the relevant link:
http://leafo.net/posts/lua_on_heroku.html
Seems interesting. Didn't knew that web virtual code layer. Pity there isn't then a Lua app running for demo.
Re: Lua on a web server (heroku)
Posted: Wed Feb 08, 2012 6:31 pm
by leafo
Here's a demo, moonscript compiler running on heroku:
http://moonscript.herokuapp.com/
Re: Lua on a web server (heroku)
Posted: Wed Feb 08, 2012 10:46 pm
by kikito
Oh! The moonscript guy and the lua in heroku guy are in reality the same person! Nice to meet you!
I'm not very interested in moonscript right now, but your post about Lua in Heroku has certainly picked my interest. Keep up the good work!
Re: Lua on a web server (heroku)
Posted: Wed Feb 08, 2012 10:59 pm
by vrld
It's worth to mention that it is already (very) possible to use Lua on a web-server thanks to the
Kepler Project. Their web-dev APIs range from relatively high level (Orbit) to low level (wsapi). There's even a Lua web-server called Xavante, which seems to be used by heroku. I run have a lighttpd server running Lua scripts using fastcgi and wsapi. Developing webapps in Lua is refreshing compared to PHP and Perl (never did anything with ruby or python though). If you can, you should try it.