A reimplementation of BCE library with C++.