ribs c++ core