[Python-Dev] Python startup time (original) (raw)

Chris Barker chris.barker at noaa.gov
Mon May 14 12:26:19 EDT 2018


On Fri, May 11, 2018 at 11:05 AM, Ryan Gonzalez <rymg19 at gmail.com> wrote:

https://refi64.com/uprocd/

very cool -- but *nix only, of course :-(

But it seems that there is a demand for this sort of thing, and a few major projects are rolling their own. So maybe it makes sense to put something into the standard library that everyone could contribute to and use.

With regard to forking -- is there another way? I don't have the expertise to have any idea if this is possible, but:

start up python

capture the entire runtime image as a single binary blob.

could that blob be simply loaded into memory and run?

(hmm -- probably not -- memory addresses would be hard-coded then, yes?) or is memory virtualized enough these days?

-CHB

--

Christopher Barker, Ph.D. Oceanographer

Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker at noaa.gov -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20180514/d36203b6/attachment.html>



More information about the Python-Dev mailing list