I've just released DRoaring, a D library which wraps CRoaring:
Roaring Bitmaps are compressed bit arrays which can store a huge
amount of bits in a space efficient manner. The bitmap is
organized so that adding/removing bits is very fast and don't
require unpacking the whole bitmap. You can use bit arrays for
efficient set operations.