Re:Python startup time: milliseconds matter
by turbinerneiter on Wednesday May 02, 2018 @04:52PM
(#16981054)
No. Pypy already does JIT.
And Cython has the speed, but not the size.
The target of my phantasy compiler are microcontrollers. That's why the (correct) comment of quotemstr isn't that big of a concern to me.
Re:Python startup time: milliseconds matter
by blattimwind on Wednesday May 02, 2018 @05:35PM
(#16981355)
Just throwing Python code at Cython doesn't really improve performance all that dramatically, because it'll be doing pretty much the same thing as the bytecode interpreter, except that all the saucy special-cases are now unrolled many times across all code.
There is Cython, of course, which is a great python (+) compiler. I assume you mean a just-in-time compiler as opposed to a static compiler.