[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Reasons for a Web Developer to use Lua?
- From: Tim Johnson <tim@...>
- Date: Tue, 15 Mar 2011 16:45:57 -0800
* Chris Babcock <firstname.lastname@example.org> [110315 14:27]:
> On Tue, Mar 15, 2011 at 2:29 PM, Tim Johnson <email@example.com> wrote:
> That's one option. Lua is also the best choice if you have legacy
> software you want to expose as a service or if you want to expose a
> programming API to users.
Yeah, good to hear, that was in the back of my mind.
> Sputnik may look a little like the "20 minute wiki" demo from what was
> formerly known as TurboGears, but it's a wiki that lets you do
> everything that could be done in TG 2.x... and do it all from the web
> interface. Sputnik also smokes anything implemented on a Python MVC
> framework in responsiveness despite this additional flexibility. Even
> if you don't want to use Sputnik or expose that kind of power on the
> web interface, you can still use many of the same components in your
> own stack.
> Also, using Lua directly as a data definition language is not the same
> as using Pickle in Python.
I've worked with rebol and newlisp and both make saving code much
easier than in python - and easier to trouble-shoot.
> Lua is very readable in serialized format,
> loads fast, and exhibits stable performance over a well-documented
> range of data set sizes. Not that you can't do relational data with
> Lua, but you get to make that choice.
> There were some good points made about Lua and Apache for the $5
> hosting set and I've been assuming you want something MVC-like,
Not really - I had more in mind perhaps some special need not met
by python, such as lua's embeddability (sp?) I've got my own MVC
and I hope to make it 'fit' with django, if need be.
Thanks Chris and also for the CC, I looked at MoSync. Looks like
lua could be valuable there if it co-exists with C++. I used to
code in C++, I hated it, from what I've read in the Ierusalimschy
book I have here - wouldn't one be possible to compile Lua into a
C++ application as well as a `C` application?
tim at johnsons-web dot com or akwebsoft dot com