2011/12/11 Bengt Richter <[email protected]>: > Just musing -- if pypy can discover pure functions (or functions with simple > static > global side effects) and the jit transforms them into machine code in a > runtime memory-resident > image somewhere, could this image be transformed with some .so boilerplate > and metadata > into a loadable module which could be discovered for use more or less like a > .pyc that > corresponds to .py is used? Could the jit perhaps write into a memory-mapped > file that > could be closed on exit to preserve the image for possible final > post-processing into > a standard format .so full of ready-made functions and supporting data?
Basically, no. JIT compiled functions have lots of their runtime context (like memory addresses) hardcoded into thme. -- Regards, Benjamin _______________________________________________ pypy-dev mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-dev
