Beaming Up With Alien and Lua*
lua is an extension language that is used in everything from mail filters to World of Warcraft. Learn how you can script C libraries with lua and alien.
When you have a pile of C code sitting in a library and need it quickly available to a higher level scripting language then you want lua. I will explain two methods of how you can use lua to talk to C code:
- Call existing C libraries like libmysql with alien
- Extend an application by embedding lua inside of it
The goal is to have you walking away with both an understanding of how the moving parts mesh together and empowered to shuffle bits out of C code into a lightweight scripting environment with a ton of higher level libraries.
Brandon is the Developer Happiness Engineer at Rackspace/Cloudkick in San Francisco. Previously he worked as a Kernel developer at Novell/SuSE Labs.
He has presented at several technical conferences in the past including FreedomHEC Taipei, Linux Plumbers Conf and Ignite Portland 2 . In his spare time he tinkers with electronics and software, bikes, hikes and builds robots. For more information checkout his site.