View Single Post
Old Apr 14th, 2008, 8:08 PM   #6
Jessehk
The Oblivious One
 
Jessehk's Avatar
 
Join Date: May 2005
Location: Ontario, Canada
Posts: 630
Rep Power: 4 Jessehk is on a distinguished road
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!
Jessehk is offline   Reply With Quote