Beaming Up With Alien and Lua

*
Accepted Session
Short Form
Scheduled: Thursday, June 23, 2011 from 11:00 – 11:45am in B304

Excerpt

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.

Description

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.

Speaking experience

Speaker