<div dir="ltr">Do you have Python 2.7 64bit versions available for Solaris (10/11) x86/SPARC, AIX, and HP-UX IA/RISC? I've had the displeasure of having to install 64bit Python on Solaris and AIX and it's an experience I would not recommend even though OpenCSW and Perzl have done much of the legwork already. I'd also just be happy with any pointers to building PyRun or regular Python on such systems if such currently there exist no such builds.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 13, 2015 at 10:34 AM, Cristiano Cortezia <span dir="ltr"><<a href="mailto:cristiano.cortezia@gmail.com" target="_blank">cristiano.cortezia@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-size:12.8000001907349px">In one of the next releases we'll probably add a tool to bundle</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">complete applications together with pyrun, perhaps even by</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">recompiling it to include the application byte code files</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">right in the binary like we do for the stdlib.</span></blockquote><div><br></div></span><div>Well, that would be simply awesome. Looking forward to it. </div><div><br></div><div>PS: you guys should definitely advertise this work on the embedded software community.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2015-05-13 11:29 GMT-03:00 M.-A. Lemburg <span dir="ltr"><<a href="mailto:mal@egenix.com" target="_blank">mal@egenix.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">On 13.05.2015 16:09, Cristiano Cortezia wrote:<br>
> Well I gave it a try, and it seems my assumptions were *somehow* true.<br>
<span>> Here is what I got when running one of my apps in single shot mode (load,<br>
> run, terminate):<br>
><br>
</span>> *default python distribution*<br>
<span>> total time 9.022s<br>
> ENOENT's count 7377<br>
><br>
</span>> *pyrun*<br>
<span>> total time 8.455s<br>
> ENOENT's count 3064<br>
><br>
> So, it indeed failed much less to open files, but I guess this didn't make<br>
> that much difference after all (500ms).<br>
<br>
</span>PyRun has the advantage of being able to read the byte code<br>
directly from the binary (using memory mapping). However,<br>
it still needs to run the same startup machinery as Python<br>
itself.<br>
<br>
Note that startup time for Python was a lot worse before<br>
Python used the same approach as PyRun to compile in the<br>
parsed sysconfig data.<br>
<span><br>
> Perhaps it is because this app has some external dependencies (22 to be<br>
> precise) not bundled on pyrun that had to be scanned by the interpreter<br>
> anyway. If by any means we could bundle them all the same way, than it<br>
> could bring a much higher performance gain. But I guess it is not really<br>
> safe-feasible.<br>
<br>
</span>It's certainly possible to use the pyrun build system to create<br>
bundles with more packages and tools included.<br>
<br>
The one we're shipping has most of the stdlib included,<br>
but leaves all the application code to reside on the<br>
sys.path or in a ZIP archive.<br>
<br>
In one of the next releases we'll probably add a tool to bundle<br>
complete applications together with pyrun, perhaps even by<br>
recompiling it to include the application byte code files<br>
right in the binary like we do for the stdlib.<br>
</div></div><div><div><div><div class="h5"><br>
--<br>
Marc-Andre Lemburg<br>
eGenix.com<br>
<br>
Professional Python Services directly from the Source  (#1, May 13 2015)<br></div></div>
>>> Python Projects, Coaching and Consulting ...  <a href="http://www.egenix.com/" target="_blank">http://www.egenix.com/</a><br>
>>> mxODBC Plone/Zope Database Adapter ...       <a href="http://zope.egenix.com/" target="_blank">http://zope.egenix.com/</a><br>
>>> mxODBC, mxDateTime, mxTextTools ...        <a href="http://python.egenix.com/" target="_blank">http://python.egenix.com/</a><br>
________________________________________________________________________<br>
2015-05-13: Released mxODBC Connect 2.1.3 ...     <a href="http://egenix.com/go752015-05-11" target="_blank">http://egenix.com/go75<br>
2015-05-11</a>: Released eGenix PyRun 2.1.0 ...       <a href="http://egenix.com/go742015-05-25" target="_blank">http://egenix.com/go74<br>
2015-05-25</a>: PyWaw Summit 2015, Warsaw, Poland ...          12 days to go<span class=""><br>
<br>
   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48<br>
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg<br>
           Registered at Amtsgericht Duesseldorf: HRB 46611<br></span>
               <a href="http://www.egenix.com/company/contact/" target="_blank">http://www.egenix.com/company/contact/</a><br>
</div></div></blockquote></div><br></div>
<br>--<br>
<a href="https://mail.python.org/mailman/listinfo/python-list" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-list</a><br>
<br></blockquote></div><br></div>