The whole basic interface is implemented in C++.