comparison to c++