The Occasional Occurence

Bit Packing

February 16, 2013 at 05:08 PM | categories: python, General

I started writing this blog post on 2012/1/10 at 11:04:00 AM. Over a year ago!

It began:

I've been reading a book called Code, researching Bloom Filters and generally thinking more about bits. I don't think about bits very often. I do most of my programming in Python and bits are a few levels of abstraction below my typical operating plane.

A fair "bit" has changed since then.

I finished that book. It was fantastic, and gave me more of a general appreciation of the electronics that underly so much of what I get to do.

I'm now fairly comfortable operating at a lower level of abstraction; namely coding in C. I've had a hand in a number of C codebases over the past year. First was extending a k-d tree library with range query support. Then it was helping to build an application that made use of the library. Most recently I've been retooling that k-d tree library to support disk-based persistence and tinkering with writing a Python extension module in C. Oh, I also released a silly utility called preptime that prepends a timestamp to lines of input that are fed to it.

I don't have too much more to say about that. I mostly just thought I should finish this poor blog post when I saw it sitting there all lonely and unpublished.