mongo-c-driver 0.94.0

On Friday I tagged the newest release of my primary responsibility at MongoDB, the new C driver. The driver is split up into two libraries, libbson[1] and mongo-c-driver. It feels like a natural split, since there seems to be a lot of interest in BSON outside of MongoDB.

This release of mongo-c-driver brings us in parity with all the other MongoDB drivers. It has been a really fun process making a new driver from scratch without getting to use something like GLib as a base library. By fun, I mean I don't recommend it unless it is absolutely necessary. There is so much that goes into making a cross-platform C library that you probably don't want to know about. Add in Microsoft's Winsock2 library, and you are in for a Homer Simpson hairline in a matter of months (and I'm living proof).

In particular, 0.94.0 has support for all of the changes that went into what will become MongoDB 2.6.

I've personally tested libsson and mongo-c-driver on the following platforms.

If you have another exotic system you want ported, and I can reasonably run it, I'll add it to my build cluster. You will get the advantage that all commits will get automatically built and unit tests run.

[1] I should note, that while being the author of Libbson, I was not involved in the creation of the BSON spec. I'm personally fond the GVariant serialization format. It has handles elegantly some very important performance trade-offs. I am thrilled to hear of it's use in kdbus.

-- Christian Hergert 2014-04-07

Back to Index