Re:Why nobody talks about Lua
by 10ren on Friday February 12, 2010 @01:45AM
(#1119949)
Just installed it, `sudo apt-get install lua50`. It's 352kB - smaller than most unix utilities.
[ Parent
| on HN ]
Why not `sudo apt-get install lua5.1`? 5.0 is rather old.
Thanks, apt-get suggested lua40 and lua50 when I tried plain lua; I've got 5.1 now.
Re:Why nobody talks about Lua
by silentbicycle on Friday February 12, 2010 @08:04AM
(#1120423)
The biggest difference between lua4 and lua5 is that lua4 doesn't really have a module system, per se. 5.1 also has a better garbage collector. LuaJIT (which is based on Lua 5.1) is also an option, if you're on 32-bit i386.
For learning Lua, Ierusalimschy's _Programming in Lua_ is the best book, by leaps and bounds. There are a couple other Lua books, but that one is succinct yet comprehensive, like K&R and Pike's Bell Labs stuff.
The Lua Users' Wiki (http://lua-users.org/wiki/) is also helpful, as is the mailing list.