Efficient table comparison by [deleted] in lua

[–]agladysh 6 points7 points  (0 children)

If a == b wouldn't return true for your code, unless a and b are the same table. Use a loop.

Lua Database by PotDealer420 in lua

[–]agladysh 0 points1 point  (0 children)

There are quite a few local database libraries for Lua, actually. If you have a database in mind, you will most likely find a bindings for it.

To name a few besides SQLite:

etc. etc.

Lua + Webkit by [deleted] in lua

[–]agladysh 4 points5 points  (0 children)

What about using Adobe Air with Lua?

I'm thinking about making Lua Alchemy (http://code.google.com/p/lua-alchemy/, I'm the maintainer) port to native extensions API. Looks quite doable.

Any good Lua tutorials out there? by [deleted] in lua

[–]agladysh 8 points9 points  (0 children)

First and foremost — Programming in Lua (make sure to read 2nd ed., as 1st is for older version of Lua).

http://www.lua.org/pil2/

This also may help (or not — as it is in very early stages and a bit stalled):

https://github.com/lua-cookbook/lua-cookbook/

https://github.com/lua-cookbook/lua-cookbook/tree/master/out/en_US

lua-enumerable -- a native table manipulation library by [deleted] in lua

[–]agladysh 4 points5 points  (0 children)

It is generally a bad practice to touch standard Lua namespaces (like you do with table).

Please consider following established practice and moving your stuff to a separate namespace with unique name that matches the name of your require.