Cross-platform C++ library