2010/12/1 Peter Bex <[email protected]>: > [...] > I never really got the point of Swig; what does it do that you can't > use the FFI or the bind egg for? > [...]
Hello, I can think of two advantages SWIG has: It is relatively easy to create bindings for several different scripting languages from the same interface definition. And in contrast to most FFIs I know it is relatively easy to create wrappers for C++ libraries even if you need advanced features like inheritance chains crossing the language boundaries. Ciao, Thomas -- When C++ is your hammer, every problem looks like your thumb. _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
