lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


James Kimble wrote:
Javier Guerra wrote:
Lua is not new. it's really mature and stable (arguably much more than
JavaScript, but that's a biased opinion).

JS is much more well-known, so you really have a lot of code to pick
and copy.  about said code's quality.... there are some good libraries
but not so many.

browser support for Lua? 0

for a server Lua is a great solution, also for the client, if you're
writing it (really easy to embed in C code).

if you want to program for an existing browser, go with JS

Yeah, that seems to be the consensus I'm coming to also (to use JS). Too bad. I will play with Lua some more though. It looks like a nice alternative to things like Perl and Ruby. Never hurts to add another tool to the tool box though.

If your users can be "forced" to use a browser with svg support (firefox is OK), I would suggest JavaScript+SVG for browser side (check some examples at http://www.carto.net/papers/svg/samples/ ), and lua (or any other language) at the server side. If you use some standard method of data serialization (I would suggest JSON), you can easily switch the server side language. For the browser side you could also consider flash (actionscript is similar to JS, but the code runs faster, especially if you have realplayer 10). If you want graphical GUI in your browser, there is no better/easier way than svg+JS or flash. And if you work with embedded device, you want to offload as much computation to the browser as possible.

Regards,
	miko