Live data from Hacker News

Redbean – Single-file distributable web server (with embedded Lua and SQLite)

justine.lol

11–13 of 13 posts

Re: Redbean – Single-file distributable web server (with embedded Lua and SQLite)

#11
post #4

Earlier quoted context omitted.

Some examples of deployment in the wild would have helped?

Yep, for some reason my imagination is just not kicking in here. What can I do with embedded Lua in backend? I'm not familiar with Lua at all so I have no idea.

Well, couldn't the same question be asked about using Python or Ruby within a server? It's scriptable, easier and faster to iterate with. Dynamic. You can execute Lua scripts in Redis. LuaJIT and other implementations can be incredibly fast and pretty fun to code in.

Re: Redbean – Single-file distributable web server (with embedded Lua and SQLite)

#12
post #4

Earlier quoted context omitted.

Some examples of deployment in the wild would have helped?

Yep, for some reason my imagination is just not kicking in here. What can I do with embedded Lua in backend? I'm not familiar with Lua at all so I have no idea.

You can use the excellent fullmoon framework that takes care of a lot for you

https://github.com/pkulchenko/fullmoon

Then using lua is not much different than python/flask

Re: Redbean – Single-file distributable web server (with embedded Lua and SQLite)

#13
post #12

Earlier quoted context omitted.

Yep, for some reason my imagination is just not kicking in here. What can I do with embedded Lua in backend? I'm not familiar with Lua at all so I have no idea.

You can use the excellent fullmoon framework that takes care of a lot for you https://github.com/pkulchenko/fullmoon Then using lua is not much different than python/flask

Well except a lot faster at runtime
Post reply on HN