If your software matters, you will write it in C++
blog.achrissmith.com
blog.achrissmith.com
Doesn't Haskell come out better on certain benchmarks as compared to C/C++?
A bit easier on a hacker than messing with the binary.
You then get the added benefit of not having to touch C++. I know that for a lot of people at least this would be considered worth the trouble alone.
(Which can be really useful to have if your language sucks and it'd be easier to edit bad code in a better language. (Or in this case your language is slow and it'd be better to just hack the parts that need to be optimized before you compile the binary.))
Of course; the right thing is to use something like Cython.
After all, if you don't get a performance increase anyway you may as well just hand hack the parts you need to optimize as C modules.
EDIT: I'm aware I called it a compiler in my earlier post. The transpiler comment was in response to you putting "compiler" in quotation marks.
The generated C code is still a stack machine. You could replace that with C code, but if you wanted to program to a stack machine then you likely wouldn't have been coding in Python in the first place.
Part of the nuisance in replacing that C code would be wading through all of the extra code Python generates, just to add two numbers.
If you don't know any better. Then please let me know what you are working on so that I can eat in your plate.