Python解释器,PyPy 1.9 发布
openkk 12年前
<div id="p_fullcontent" class="detail"> <p><img title="Python解释器,PyPy 1.9 发布" border="0" alt="Python解释器,PyPy 1.9 发布" src="https://simg.open-open.com/show/dda0e724c7e022d544573e054449dee8.png" width="318" height="110" /></p> <p><strong>PyPy</strong> 是用Python实现的Python解释器。</p> <p>PyPy是,Python开发者为了更好的Hack Python创建的项目。此外,PyPy比CPython是更加灵活,易于使用和试验,以制定具体的功能在不同情况的实现方法,可以很容易实施。 该项目的目标是,让PyPy比C实现的Python更为容易的适应各个项目和方便裁剪。</p> <li><strong>Speed:</strong> thanks to its Just-in-Time compiler, Python programs often run <a class="reference external" href="/misc/goto?guid=4958343447497771297">faster</a> on PyPy. <a class="reference external" href="/misc/goto?guid=4958343448301650328">(What is a JIT compiler?)</a></li> <li><strong>Memory usage:</strong> large, memory-hungry Python programs might end up taking <a class="reference external" href="/misc/goto?guid=4958343449095149805">less space</a> than they do in CPython.</li> <li><strong>Compatibility:</strong> PyPy is <a class="reference external" href="/misc/goto?guid=4958343449882194077">highly compatible</a> with existing python code. It supports <a class="reference external" href="/misc/goto?guid=4958343450671601783">ctypes</a> and can run popular python libraries like <a class="reference external" href="/misc/goto?guid=4958343451473269233">twisted</a> and <a class="reference external" href="/misc/goto?guid=4958343452270639650">django</a>.</li> <li><strong>Sandboxing:</strong> PyPy provides the ability to <a class="reference external" href="/misc/goto?guid=4958343453055793201">run untrusted code</a> in a fully secure way.</li> <li><strong>Stackless:</strong> PyPy comes by default with support for <a class="reference external" href="/misc/goto?guid=4958343453853600363">stackless mode</a>, providing micro-threads for massive concurrency.</li> <p><br /> </p> <p><a href="/misc/goto?guid=4958343454647594668" rel="external" target="_blank">PyPy</a> 1.9 非常兼容 Python 解释器,集成了 JIT 即时编译器,该版本代号为 "Yard Wolf". PyPy 目前还是实现的 Python 2.7.2 ,不过该版本包含很多 32 位 Windows 平台上的 bug,改进了 CPython 扩展模拟器以及更快速的集合操作。</p> <p>PyPy 1.9 with JIT compiler 可通过这里 <a href="/misc/goto?guid=4958343455442261623" rel="external" target="_blank">下载</a></p> <p>你也从 <a href="/misc/goto?guid=4958343456244117280" rel="external" target="_blank">源码中编译</a></p> <p></p> </div>