Re:Python startup time: milliseconds matter
by no_wizard on Wednesday May 02, 2018 @01:58PM
(#16979552)
I know this isn’t everyone’s favorite but Cython has a way to convert your python code
Into an executable with Python embedded and I bekievr it also
Packs your imports
Cython is a complicated beast but I feel like it just needs a more friendly wrapper for this to be more widespread.
Cython is a complicated beast but I feel like it just needs a more friendly wrapper for this to be more widespread.
https://stackoverflow.com/questions/22507592/making-an-execu...
https://github.com/cython/cython/wiki/EmbeddingCython
Why Cython isn’t in the stdlib (I think it could easily replace ctypes) is beyond me sometimes