Profiling In Python

I received a request today to write a post about profiling C extensions in Python and here it is. I'm going to show you a little module that I wrote that acts as an interface layer for extensions by explaining how I made it. To begin with we need something to profile, to keep it simple we'll use the standard library : ...

An Introduction To Swig

SWIG is a tool that allows you to easily interface c/c++ with many scripting languages. I'm going to show you an extremely simple example to get you started using it. We're going to be interfacing some simple C++ code with python (3.1). I'm using Linux . ...