PyPy: A Faster Python Implementation

栏目: IT技术 · 发布时间: 4年前

PyPy: A Faster Python Implementation

A fast ,compliant alternative implementation of Python

Get Started : Download and install

What is PyPy : Features

Documentation (external link)

On average, PyPy is 4.4 times faster than CPython

PyPy: A Faster Python Implementation

PyPy trunk (with JIT) benchmark times normalized to CPython. Smaller is better. Based on the geometric average of all benchmarks

"If you want your code to run faster,
you should probably just use PyPy."
-- Guido van Rossum (creator of Python)

Advantages and distinct Features

  • Speed:thanks to its Just-in-Time compiler, Python programs often runfaster on PyPy. (What is a JIT compiler?)

  • Memory usage:memory-hungry Python programs (several hundreds of MBs or more) might end up taking less space than they do in CPython.

  • Compatibility:PyPy ishighly compatible with existing python code. It supports cffi , cppyy , and can run popular python libraries like twisted and django .

  • Stackless:PyPy comes by default with support forstackless mode, providing micro-threads for massive concurrency.

  • As well as otherfeatures.


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

不是为了快乐

不是为了快乐

宗萨蒋扬钦哲仁波切 / 姚仁喜 / 深圳报业集团出版社 / 2013-1 / 38.00元

前行修持是一套完整的实修系统,它既是一切佛法修持的根基,又囊括了所有修持的精华,以及心灵之道上所需的一切;既适合入门者打造学佛基本功,也是修行人需要终生修持的心法。书中除了实际的方法指导之外,还不断启发佛法的珍贵与修持的必要,并处处可见对学佛者的鼓舞和纠正,其最终的用心,是让我们踏上不间断的修持之路,真正转化我们僵硬、散乱和困惑的心。 在现代人看来,快乐,理应是最值得追求的目标。我们希望生活......一起来看看 《不是为了快乐》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具