Language binding

From[1], we know that most languages are either written in C (Perl, Python, Ruby, …) or are compatible with C (C++, C#, Objective-C). Therefore, for most languages it is easy to use a C library by writing some wrapper functions to convert data structures in that language into native C data structures. There is even an automatic (or semi-automatic depending on complexity required) tool for this: SWIG.

Continue reading