Since the rest of the functionality is written in C++, it best to make TinySim itself in C++ as well.