Notices where this attachment appears
-
@ninjawedding @maiyannah http://wiki.c2.com/?AlternateHardAndSoftLayers is a time-honored tradition.
I haven't played with Lua, but it I were to use Lua and interface with C libraries, I would have a look at http://terralang.org/ , which looks very interesting.
I have to say though that Python's ctypes, which supposedly were inspired by Lua's C integration, work surprisingly well, at least for simple things. For the less-simple things, we have written a Dwarf parser at work, which can dynamically create the types by introspecting the debug data of the C code.