Beginnings of a C++ implementation (early alpha, not yet functional)