News for hackers. Stuff that matters.
Re:Lua/APR - proper standard library for Lua by BasDirks on Friday July 08, 2011 @03:03PM (#2743657)
Don't mean to hijack, but could I be referred to a good introduction to Lua? I keep hearing about it, but it's one of the few languages I know NOTHING about, and I have a free weekend!
Re:Lua/APR - proper standard library for Lua by huyegn on Friday July 08, 2011 @03:11PM (#2743694)
If you liked Kernighan and Ritchie's "The C Programming Language", then you'll love "Programming In Lua". The first edition is available online here:

http://www.lua.org/pil/

Like K&R, it's style is colloquially terse, yet each sentence is chock full of information. It's a great book for someone who's already coming from another language like Python.

If you're into graphics programming, then http://love2d.org/ would be the perfect vehicle for you to get into Lua while you read PIL.

Re:Lua/APR - proper standard library for Lua by reginaldo on Friday July 08, 2011 @03:11PM (#2743693)
When I was getting started I bought the "Programming in Lua"[1] ebook, by the author of Lua himself.

There's an older edition available for free online[2].

Then there's of course the lua users wiki and its "Learning Lua" section[3].

I find the wiki a little hard to navigate so I just went ahead and bought the book. IMHO the gems in Chapter 10 (Complete Examples) and the clear explanation of coroutines are alone worth the price. The rest is a very nice bonus too.

[1] http://store.feistyduck.com/products/programming-in-lua [2] http://www.lua.org/pil/ [3] http://lua-users.org/wiki/LearningLua

Re:Lua/APR - proper standard library for Lua by BasDirks on Friday July 08, 2011 @03:22PM (#2743738)
Thank you (and all other commenters) kindly. I purchased the book.
Re:Lua/APR - proper standard library for Lua by xolox on Friday July 08, 2011 @03:09PM (#2743686)
The first edition of "Programming in Lua" is available for free online and might make for more interesting reading than the reference manual: http://www.lua.org/pil/
Re:Lua/APR - proper standard library for Lua by justincormack on Friday July 08, 2011 @03:05PM (#2743670)
The reference manual is very well written http://www.lua.org/manual/
Re:Lua/APR - proper standard library for Lua by randrews on Friday July 08, 2011 @04:22PM (#2743929)
This isn't a language introduction, but after you learn it, I've written a bunch of posts at http://playwithlua.com, all about weekend-sized hacks in Lua.
Re:Lua/APR - proper standard library for Lua by meric on Saturday July 09, 2011 @02:11AM (#2745141)
Re:Lua/APR - proper standard library for Lua by swah on Friday July 08, 2011 @03:28PM (#2743769)