3 ms·
I read about Google's use of Python here http://panela.blog-city.com/python_at_google_greg_stein__sdforum.htm http://panela.blog-city.com/python_at_google_greg
by Todd 20y ago
I read about Google's use of Python here
http://panela.blog-city.com/python_at_google_greg_stein__sdforum.htm http://panela.blog-city.com/python_at_google_greg_stein__sdforum.htm
a few weeks ago and saw the part where they mentioned SWIG. This was quite an insight for me since I've been trying to figure out for a years the best way to write binary extensions for Perl, Lisp, etc. To see that Google uses it as a matter of course completely sealed it for me.
I have integrated it into my project over the last couple of weeks and I've got to say it is the bee's knees. It took some thrashing to get started and there are still some dark corners (e.g., typemap voodo) but I will never go back. My first project is a high performance sockets IPC module patterned after memcached/libevent and it works like a charm.
I highly recommend SWIG.