|
Re: 'C'oo'P'eration!
I had heard about Lua through an article and I had never done any extending or embedding before so I thought I'd try something.
Lua is extremely light, both in terms of memory footprint and standard libraries. For my simple Arch Linux utility, I first extended Lua by writing a library of filesystem functions for the language, then embedded it in order to write the majority of the "logic" which I then wrapped together with C and built/packaged with autotools.
I don't know how useful it all was, but it was definitely very educational.
__________________
Dr. Zoidberg: [ecstatic] I'm going to a movie... with FRIENDS!
|