This sounds rather similar in principle to Python's Shedskin compiler, which turns ordinary Python code in C++ code, using C++-based runtime replacing the ordinary Python runtime. This works extremely very well on a certain class of problems. <a href="http://code.google.com/p/shedskin/" rel="nofollow">http://code.google.com/p/shedskin/</a>