views:

67

answers:

2

I just on internet the Google is using swig.

Does any one have used that and tell me will it be helpful for me.

I mean why it is used and how it can make my work good.

As google is using it must be good

+2  A: 

Just because someone uses something does not make it good. That being said I love my Swig.

I've used it to wrap C++ libraries in Java and Python. It lets me write code once and still use that code in other languages. It translates the API in a meaningful and consistent manner, which is something not to be underestimated. In short, it makes life easier for those of us who have to work in multiple languages with multiple libraries at the same time.

wheaties
As i am web developer it means if i have function coded in java which calculates the product of two numbers. Then by using swig i can use that function in my php code. Am i right? If yes , then do i have to install SWIG on my server but where will i write java or C++ code. Is there any book available for SWIG to try stuff
Mirage
It's for wrapping C and C++. I know of no book but the online documentation is rich enough to get most things done.
wheaties
+1  A: 
Norman Ramsey