黑是什么生肖| 潮湿是什么意思| 发烧了吃什么药| 画蛇添足的寓意是什么| 检查阑尾炎挂什么科| 柳丁是什么| 玉米淀粉是什么| 电镀是做什么的| 葡萄糖升高说明什么| 仔是什么意思| 孕妇过敏可以用什么药| 钱代表什么生肖| 眼皮跳是什么原因| 做梦哭醒了有什么征兆| 小孩c反应蛋白高说明什么| 王秋儿和王冬儿什么关系| 张国荣属什么生肖| 葫芦藓是什么植物| 经心的近义词是什么| 什么是华人| 热量是什么意思| 叶韵是什么意思| 夏天都有什么花| 发烧是什么原因引起的| 航班号是什么| 鼻子流黄水是什么原因| 为什么叫五七干校| 户名是什么意思| 遇难是什么意思| 儿童鸡胸挂什么科| 心电图是什么| 高血压什么症状| 低血钾吃什么补上来的快| 三八是什么意思| 咽炎吃什么药最好效果| 梦见自己给自己剪头发是什么意思| 吃什么指甲长得快| 脚麻木是什么病的前兆| 乳液是什么| 脸部下垂什么方法提升效果好| 疝囊是什么| 王羲之的儿子叫什么名字| 月非念什么| 舌苔发白是什么病的前兆| 颈动脉彩超能查出什么| 喉咙痛可以吃什么| 取环后应该注意什么| 芸豆长什么样子| 乌鸦长什么样| 纷至沓来什么意思| 青茶是什么茶| 鲱鱼为什么那么臭| 子宫瘢痕是什么意思| 肛门疼痛是什么原因| 室上性心动过速是什么原因引起的| 血清谷丙转氨酶偏高是什么意思| 脑电图轻度异常什么病| 钾高是什么原因引起的| 一面之词是什么意思| 扁桃体发炎不能吃什么| 过敏用什么药膏| 97属什么| 六月十六是什么星座| lv中文名叫什么| 碧螺春属于什么茶| 九转大肠是什么菜系| 什么叫弱视| 冰鱼是什么鱼| 中央组织部部长什么级别| 男性内分泌科检查什么| 吴亦凡什么学历| 左耳长痣代表什么| 头疼吃什么药最有效| 月经期间可以吃什么水果| 身份证有x代表什么| 商纣王姓什么| 卖萌什么意思| 爱出汗吃什么药好| 什么叫疝气| 深度睡眠是什么意思| 当兵有什么好处| 辅酶q10是什么东西| 软柿子是什么意思| 静脉曲张挂什么号| 搪塞是什么意思| 武昌鱼是什么鱼| 土命和什么命最配| 牙龈紫色是什么原因| solo 什么意思| 32周孕检检查什么项目| 拆台是什么意思| 一如既往的意思是什么| 大器晚成是什么意思| 更年期什么年龄开始| 什么叫做洗钱| 舐犊是什么意思| christmas是什么意思| 冥冥之中是什么意思| 玻璃心什么意思| 喝酒后胃疼吃什么药| 新生儿黄疸吃什么药| 股票pe是什么意思| 万箭穿心代表什么生肖| 瘥是什么意思| 河虾吃什么| 50至60岁吃什么钙片好| 木耳和什么不能一起吃| 肌无力是什么病| 断片是什么意思| 吊瓜是什么瓜| 1a是什么意思| 鱼头和什么搭配煲汤好| 蜻蜓是什么动物| 血常规红细胞偏高是什么原因| 长期吃避孕药有什么副作用| 肚子不饿是什么原因| 元宵节送什么| 手心痒痒是什么预兆| 胃胀胃不消化吃什么药| 无机盐包括什么| 孕妇有狐臭擦什么最好| 39岁属什么| 肝血管瘤有什么症状表现| 婆家是什么意思| 车厘子不能和什么一起吃| 教师节唱什么歌| 扑尔敏是什么药| 10月20是什么星座| 花生对胃有什么好处| 甲状腺适合吃什么食物| 阴道菌群失调用什么药| 小便发红是什么症状男| 鼻窦炎用什么药好| 减肥早餐吃什么好| 七十岁是什么之年| 猫咪吃什么| 萎缩性阴道炎用什么药| 真相是什么意思| 杨枝甘露是什么意思| 广东是什么气候| 狐臭什么味| 反流性食管炎吃什么药好| 免单是什么意思| 肺癌不能吃什么水果| 三月二十是什么星座| 中国属于什么人种| 什么血型招蚊子叮咬| 车前草治什么病最好| 鸭屎香为什么叫鸭屎香| 月经量少要吃什么调理| 考号是什么| 什么是hpv病毒| 哇哦什么意思| 夜宵吃什么好| 口酸吃什么药效果好| 月经期吃什么好| 周文王叫什么| ed患者是什么意思| 什么叫肽| 蛇和什么相冲| 不惑之年什么意思| 坐车晕车是什么原因| 心电图p是什么意思| 社保卡是什么样的图片| 白日做梦是什么生肖| 左上腹是什么器官| 凝血因子是什么| 上户口需要什么资料| 手上起小水泡是什么原因| 口真念什么| 便秘吃什么有用| 夏枯草长什么样子| 茶壶嘴为什么不能对着人| 什么东西解酒最快| 腿疼膝盖疼是什么原因| 迷糊是什么意思| 蚯蚓喜欢吃什么| 早泄吃什么药| aug什么意思| 什么水果对肝脏好| 人巨细胞病毒是什么病| 莘字五行属什么| 低蛋白血症是什么病| 黄瓜是绿色的为什么叫黄瓜| 腿上出汗是什么原因| 血虚肝旺有什么症状有哪些| 什么是五官| 戾气太重是什么意思| 世界上最大的湖是什么湖| 女内分泌检查什么项目| 桥字五行属什么| 穿山甲到底说了什么| 颠覆三观是什么意思| 有什么无什么| 男生为什么会晨勃| 眉毛附近长痘痘是什么原因| w是什么单位| 医学美容技术学什么| 夏天感冒吃什么药| 下雨了是什么意思| 玫瑰花有什么作用| 1981属什么生肖| 脖子长痘是什么原因引起的| 世上谁嫌男人丑的前一句是什么| 私生粉是什么意思| 流产后吃什么水果好| 瘿瘤是什么病| 手术刀口吃什么愈合快| 孕妇d2聚体高是什么原因| 荷兰机场叫什么| ysl是什么品牌| 什么食物含维生素b12最多| 林彪为什么要叛逃| 什么叫压力| 海边有什么| 身上长白色的斑点是什么原因| 月经9天了还没干净是什么原因| 不粘锅涂层是什么材料| 很无奈是什么意思| 禾加一笔是什么字| 中文是什么意思| 烙馍卷菜搭配什么菜| 蛊是什么| 好无奈是什么意思| 牛乳是什么| 赧然是什么意思| 和南圣众是什么意思| 艺名是什么意思| 奇行种什么意思| 什么的月亮| 獭尾肝是什么意思| 肠梗阻什么症状| 90年什么命| 达芬奇是干什么的| 春天像什么| 2027是什么年| 胼胝是什么意思| 农历六月初三是什么星座| 小孩手麻是什么原因| 盎司是什么单位| 刑警是干什么的| 八面玲珑什么意思| 说话鼻音重是什么原因| 验血脂挂什么科| 情人是什么意思| 日照香炉生紫烟是什么意思| 一直想大便是什么原因| 乳房疼痛吃什么消炎药| 什么是特殊膳食| neighborhood是什么意思| 吃狗肉有什么危害| 舌头发白吃什么药| 品牌主理人是什么意思| aah是什么意思| 总胆红素偏高说明什么| 生理期吃什么比较好| 五行木是什么颜色| 日不落是什么意思| 饭后胃胀吃什么药| 挂名什么意思| 嘚是什么意思| 梦见死人复活是什么意思| 寸金难买寸光阴什么意思| 尊是什么意思| 百度Jump to content

湖北省2015年高考评卷过半 考生23日可查高考成绩

From Wikipedia, the free encyclopedia
Initial releasemid 2007; 18 years ago (2007)
Stable release
7.3.19[1] Edit this on Wikidata (26 February 2025; 5 months ago (26 February 2025))
Repository
Written inRPython
Operating systemCross-platform
TypePython interpreter and compiler toolchain
LicenseMIT
Websitepypy.org Edit this on Wikidata
百度   新闻链接  美国公布两项电离层计划  美国航天局官网近期公布“全球尺度臂盘观测器”(简称GOLD)和“电离层连接探索”(简称ICON)两项计划。

PyPy (/?pa?pa?/) is an implementation of the Python programming language.[2] PyPy often runs faster than the standard implementation CPython because PyPy uses a just-in-time compiler.[3] Most Python code runs well on PyPy except for code that depends on CPython extensions, which either does not work or incurs some overhead when run in PyPy.

PyPy itself is built using a technique known as meta-tracing, which is a mostly automatic transformation that takes an interpreter as input and produces a tracing just-in-time compiler as output. Since interpreters are usually easier to write than compilers, but run slower, this technique can make it easier to produce efficient implementations of programming languages. PyPy's meta-tracing toolchain is called RPython.

PyPy officially supports Python 2.7 and 3.11[4] and has a few differences in implementations compared to CPython.[5]

Details and motivation

[edit]

PyPy aims to provide a common translation and support framework for producing implementations of dynamic languages, emphasizing a clean separation between language specification and implementation aspects. It also aims to provide a compliant, flexible and fast implementation of the Python programming language using the above framework to enable new advanced features without having to encode low-level details into it.[6][7]

RPython

[edit]

The PyPy interpreter itself is written in a restricted subset of Python called RPython (Restricted Python).[8] RPython puts some constraints on the Python language such that a variable's type can be inferred at compile time.[9]

The PyPy project has developed a toolchain that analyzes RPython code and translates it into a form of byte code, which can be lowered into C. There used to be other backends in addition to C (Java, C#, and JavaScript), but those suffered from bitrot and have been removed. Thus, the recursive logo of PyPy is a snake swallowing itself since the RPython is translated by a Python interpreter. The code can also be run untranslated for testing and analysis, which provides a nice test-bed for research into dynamic languages.

It allows for pluggable garbage collectors, as well as optionally enabling Stackless Python features. Finally, it includes a just-in-time (JIT) generator that builds a just-in-time compiler into the interpreter, given a few annotations in the interpreter source code. The generated JIT compiler is a tracing JIT.[10]

RPython is now also used to write non-Python language implementations, such as Pixie.[11]

Project status

[edit]

PyPy as of version 7.3.17 is compatible with two CPython versions: 2.7 and 3.10.[12][13] The first PyPy version compatible with CPython v3 is PyPy v2.3.1 (2014).[14] The PyPy interpreter compatible with CPython v3 is also known as PyPy3.

PyPy has JIT compilation support on 32-bit/64-bit x86 and 32-bit/64-bit ARM processors.[15] It is tested nightly on Windows, Linux, OpenBSD and Mac OS X. PyPy is able to run pure Python software that does not rely on implementation-specific features.[16]

There is a compatibility layer for CPython C API extensions called CPyExt, but it is incomplete and experimental. The preferred way of interfacing with C shared libraries is through the built-in C foreign function interface (CFFI) or ctypes libraries.

History

[edit]

PyPy is a followup to the Psyco project, a just-in-time specializing compiler for Python, developed by Armin Rigo between 2002 and 2010. PyPy's aim is to have a just-in-time specializing compiler with scope, which was not available for Psyco.[clarification needed] Initially, the RPython could also be compiled into Java bytecode, CIL and JavaScript, but these backends were removed due to lack of interest.

PyPy was initially a research and development-oriented project. Reaching a mature state of development and an official 1.0 release in mid-2007, its next focus was on releasing a production-ready version with more CPython compatibility. Many of PyPy's changes have been made during coding sprints.

  • In August 2008, PyPy was able to run some popular Python libraries like Pylons,[17] Pyglet,[18] Nevow[19] and Django.[20]
  • On 12 March 2010, PyPy 1.2 was released, focusing on speed. It included a working, though not yet stable, just-in-time compiler.[21]
  • On 30 April 2011, PyPy version 1.5 was released, which reached compatibility with CPython 2.7.[22]
  • On 9 May 2013, PyPy 2.0 was released, which introduced alpha-quality support for JIT compilation on ARMv6 and ARMv7 JIT, and included CFFI in the standard library.[23][24]
  • On 20 June 2014, PyPy3 was declared stable[14] and introduced compatibility with the more modern Python 3. It was released alongside PyPy 2.3.1 and bears the same version number.
  • On 21 March 2017, the PyPy project released version 5.7 of both PyPy and PyPy3, with the latter introducing beta-quality support for Python 3.5.[25]
  • On 26 April 2018, version 6.0 was released, with support for Python 2.7 and 3.5 (still beta-quality on Windows).[26]
  • On 11 February 2019, version 7.0 was released, with support for Python 2.7 and 3.5.[27]
  • On 14 October 2019, version 7.2 was released, with support for Python 3.6.9.[28]
  • On 24 December 2019, version 7.3 was released, with support for Python 3.6.9.[29]
  • On 16 February 2020, the PyPy team announced the move of the source code hosting from Bitbucket to heptapod.net with the repositories of the CFFI (C Foreign Function Interface) project. A new logo and website design are also published. However, the author and the license of the new logo are unknown.[30]
  • On 29 December 2023, PyPy announced hosting has moved to GitHub and development will now be tracked with git.[31]

Funding

[edit]

PyPy was funded by the European Union being a Specific Targeted Research Project[32] between December 2004 and March 2007. In June 2008, PyPy announced funding being part of the Google Open Source programs and has agreed to focus on making PyPy more compatible with CPython. In 2009 Eurostars, a European Union funding agency specially focused on SMEs,[33] accepted a proposal from PyPy project members titled "PYJIT – a fast and flexible toolkit for dynamic programming languages based on PyPy". Eurostars funding lasted until August 2011.[34] At PyCon US 2011, the Python Software Foundation provided a $10,000 grant for PyPy to continue work on performance and compatibility with newer versions of the language.[35] The port to ARM architecture was sponsored in part by the Raspberry Pi Foundation.[23]

The PyPy project also accepts donations through its status blog pages.[36] As of 2013, a variety of sub-projects had funding: Python 3 version compatibility, built-in optimized NumPy support for numerical calculations and software transactional memory support to allow better parallelism.[23]

See also

[edit]

Notes

[edit]
  1. ^ "PyPy v7.3.19 release". Retrieved 12 March 2025.
  2. ^ "Interview Maciej Fijalkowski PyPy". 29 November 2015.
  3. ^ "PyPy Speed". speed.pypy.org. Retrieved 2025-08-05.
  4. ^ "PyPy". 30 December 2024.
  5. ^ "Differences between PyPy and CPython — PyPy documentation". 30 December 2024.
  6. ^ Samuele Pedroni (March 2007). "PyPy – Goals and Architecture Overview". Archived from the original on 2025-08-05.
  7. ^ "PyPy – Goals and Architecture Overview – Mission Statement". Retrieved 11 October 2013.
  8. ^ Our runtime interpreter is "RPython", Coding Guide – PyPy documentation
  9. ^ "It is a proper subset of Python, restricted in a way that enables easy analysis and efficient code generation", Ancona et al., 2007.
  10. ^ Bolz, Carl; Cuni, Antonio; Fijalkowski, Maciej; Rigo, Armin. Tracing the Meta-Level: PyPy's Tracing JIT Compiler. ICOOOLPS '09. doi:10.1145/1565824.1565827.
  11. ^ Timothy Balridge interview.
  12. ^ "PyPy – Python compatibility". pypy.org. 28 December 2019. Retrieved 2025-08-05.
  13. ^ "PyPy v7.3.7: bug-fix release of 3.7, 3.8". pypy.org. 25 October 2021. Retrieved 2025-08-05.
  14. ^ a b the PyPy team (20 June 2014). "PyPy3 2.3.1 – Fulcrum". PyPy blog.
  15. ^ "PyPy v7.2.0: release of 2.7, and 3.6". pypy.org. 16 October 2019.
  16. ^ "PyPy – Python compatibility". 28 December 2019.
  17. ^ "Running pylons on top of PyPy". 10 June 2008.
  18. ^ "Running Pyglet on top of PyPy". 20 February 2008.
  19. ^ "Running Nevow on top of PyPy". 20 June 2008.
  20. ^ "PyPy runs unmodified django 1.0 beta". 19 August 2008.
  21. ^ "Introducing the PyPy 1.2 release". 30 April 2011.
  22. ^ "PyPy 1.5 Released: Catching Up". 12 March 2010.
  23. ^ a b c Jake Edge (15 May 2013). "A look at the PyPy 2.0 release". LWN.net.
  24. ^ "PyPy 2.0 – Einstein Sandwich". 9 May 2013.
  25. ^ "PyPy2.7 and PyPy3.5 v5.7 – two in one release". 21 March 2017.
  26. ^ "PyPy2.7 and PyPy3.5 v6.0 dual release". 26 April 2018.
  27. ^ Cuni, Antonio (2025-08-05). "PyPy Status Blog: PyPy v7.0.0: triple release of 2.7, 3.5 and 3.6-alpha". PyPy Status Blog. Retrieved 2025-08-05.
  28. ^ Mattip (2025-08-05). "PyPy Status Blog: PyPy v7.2 released". PyPy Status Blog. Retrieved 2025-08-05.
  29. ^ Mattip (2025-08-05). "PyPy Status Blog: PyPy v7.3.0 released". PyPy Status Blog.
  30. ^ "PyPy and CFFI have moved to Heptapod". 16 February 2020.
  31. ^ "PyPy has moved to Git, GitHub". 29 December 2023.
  32. ^ "EU Community Research and Development Information Service Entry".
  33. ^ "Eurostars – Aim Higher".
  34. ^ "Project Page on Eureka Network". Archived from the original on 2025-08-05. Retrieved 2025-08-05.
  35. ^ "A thank you to the PSF". 22 March 2011.
  36. ^ "PyPy Status Blog: Oh, and btw: PyPy gets funding through "Eurostars"". 10 December 2010.

References

[edit]
[edit]
卿字五行属什么 生态棉是什么面料 验尿细菌高是什么原因 什么是diy 礼尚往来什么意思
11月7日什么星座 佳偶天成什么意思 鼠目寸光是什么意思 16年属什么 鸡蛋属于什么类
为什么医生爱开喜炎平 来日方长什么意思 荨麻疹是什么引起的 间歇性是什么意思 奢侈的近义词是什么
下巴底下长痘痘是什么原因 桥本甲状腺炎有什么症状 后背发凉是什么原因 晚上8点半是什么时辰 身体动不动就出汗是什么原因
直肠脱垂有什么症状hcv7jop9ns6r.cn 心脏扩大吃什么药好hcv9jop6ns5r.cn 心脏供血不足用什么药hcv8jop9ns5r.cn 10月是什么星座hcv9jop3ns4r.cn 七什么什么什么成语hcv9jop2ns9r.cn
病毒感染发烧吃什么药hcv8jop2ns0r.cn 谬论是什么意思hcv9jop1ns3r.cn crn什么意思hcv9jop1ns2r.cn 蓝灰色配什么颜色好看hcv8jop6ns2r.cn 急性阑尾炎吃什么药hcv9jop4ns4r.cn
哀鸿遍野是什么意思hcv8jop3ns3r.cn 善存什么时间吃比较好hcv9jop2ns4r.cn 女性外阴瘙痒用什么药hcv8jop1ns0r.cn 舒肝解郁胶囊治什么病hcv8jop7ns8r.cn 飞蚊症是什么hcv8jop1ns1r.cn
堃什么意思hcv9jop0ns6r.cn 肛门坠胀吃什么消炎药hcv8jop6ns9r.cn 什么西瓜hcv9jop1ns7r.cn bcm是什么意思mmeoe.com 嗯哼的爸爸叫什么hcv9jop5ns2r.cn
百度