the AliOSS C++ implementation