Lua on a web server (heroku)

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Lua on a web server (heroku)

Post 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
When I write def I mean function.
coffee
Party member
Posts: 1206
Joined: Wed Nov 02, 2011 9:07 pm

Re: Lua on a web server (heroku)

Post 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.
leafo
Prole
Posts: 28
Joined: Tue Aug 16, 2011 6:01 am

Re: Lua on a web server (heroku)

Post by leafo »

Here's a demo, moonscript compiler running on heroku: http://moonscript.herokuapp.com/
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: Lua on a web server (heroku)

Post 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!
When I write def I mean function.
User avatar
vrld
Party member
Posts: 917
Joined: Sun Apr 04, 2010 9:14 pm
Location: Germany
Contact:

Re: Lua on a web server (heroku)

Post 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.
I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum.

hump | HC | SUIT | moonshine
Post Reply

Who is online

Users browsing this forum: No registered users and 59 guests