I used this paper for building a scalable bloom filter for use in an ad-tech stack. The performance was better than DJB's CDB.
https://github.com/opencoff/portable-lib
The bloom filter code is in src/bloom.c; the Header file is in inc/utils/bloom.h
I implemented a serialization/deserialization of the bloom filters as well (src/bloom_marshal.c).
The tests are in test/t_bloom.c.