Cython Extension PBJ

Cython Extension PBJ

Python is a powerful programming language with extensive library support. But what does one do when needing to integrate with a platform-specific C or C++ component that has no native Python support? There are two options: completely rewrite the functionality in Python, or create a Python extension. Either option can be painful and prone to errors. Enter Cython. It’s like the peanut butter and the jelly to the extension sandwich.
Like a PBJ sandwich, Cython code is easy to construct, satisfying to use, does not require exotic ingredients, and can be prepared by almost anyone.

Watch Your Language

We’ve all seen the flame war posts about one language being faster than another. We’ve also seen  posts that attempt to speak about  runtime efficiency in more concrete terms yet still fall short. What these musings bring to light is a much broader concern that we as...

Get the Right Support

Like many developers, I have several virtual machine (VM) instances for testing different projects. I also tend to keep a few of these virtual machines around for some time for those long running projects spanning multiple years. The vast majority of my VMs are linux...

Don’t bug me?

Have you ever had one of those days? I’m not talking about those really bad days when everything seems to go wrong. I’m talking about one of those days where everything is going right and then there’s the one bug that crops up that spoils the streak. I was having an...