If "template JIT" means what I think it does, this is basically what you get from Cython[1] or, later, Nuitka[2], only they're "template AOT"s.<p>Sadly, it buys you sorely little. CPython's bytecodes are "big", so very little time is spent between them relative to that spent inside them. The motivation to do anything smarter here is lacking.<p>[1] <a href="http://cython.org/" rel="nofollow">http://cython.org/</a><p>[2] <a href="http://nuitka.net/" rel="nofollow">http://nuitka.net/</a>