I needed to perform a numerical integral of a function I knew very little about. I tried to get decent resolution by having small slices in my integration.
Python was pretty slow to perform the integration, so I thought I'd have a look at writing it in c++. I haven't used c++ for ages, but eventually I got it working.
I then needed to plot the result of my integration against measured data, so I wanted access to my c++ functions in python, where I do my plotting.
Finally got my c++ functions imported into python using PyBind11 and I must say, it works amazingly well, I think it's well documented and the examples were great. Vectorising my functions so that I can run them for a whole numpy array of values was genuinely super-easy. I'm very impressed! Thanks to all the devs =]