From what I can see the example started from C++, and then comparing how each language would look building it in userland instead.