Alsalam alikom wa ra7mat Allah wa barakatoh Today, I found a program that cought my attention, I didn't try it yet but I read a tutorial and now downloading the package... What is it anyway? SWIG stands for Software Interface Generator, it's a program that takes your unmanaged code (C/C++ for example) and automatically builds a wrapper library for it in a lot of other languages (C#, Perl, PHP, ...etc). Just that simple... Example : // Example: file.h class SimpleSample { public: void DoSomething(); } This header file can be converted to SimpleSample.cs which uses pInvoke to call the underlying C++ Code... SWIG is a fully function C++ Compiler. It can also build up a proxy class for a collection of your C++ Functions/Classes. It's just nice and powerful (I hope it functions like how it sounds) Moreover, it's Open Source, works with a GNU CSharp Compiler (in case you want to output a .NET Library) it can also work with many other CSharp Compilers (if you wish to
Just trying to speak freely somewhere online... The opinions in this blog is the author's own opinions. You are free to agree or disagree with them...