Ho lokolloa ha PyPy 7.2, ts'ebetsong ea Python e ngotsoeng ka Python

Thehile tokollo ea morero PyPy 7.2, moo ho hlahisoang ts'ebetsong ea puo ea Python e ngotsoeng ka Python (ho sebelisoa subset e ngotsoeng ka mokhoa oa statically). Rpython, Python e thibetsoeng). Tokollo e lokiselitsoe ka nako e le 'ngoe bakeng sa makala a PyPy2.7 le PyPy3.6, a fanang ka tšehetso bakeng sa syntax ea Python 2.7 le Python 3.6. Tokollo e fumaneha bakeng sa Linux (x86, x86_64, PPC64, s390x, Aarch64, ARMv6 kapa ARMv7 e nang le VFPv3), macOS (x86_64), OpenBSD, FreeBSD, le Windows (x86).

Karolo e 'ngoe ea PyPy ke tšebeliso ea moqapi oa JIT o fetolelang likarolo tse ling hore e be khoutu ea mochine ha ho fofa, e leng se etsang hore ho khonehe ho fana. phahameng boemo ba ts'ebetso - ha o etsa ts'ebetso e itseng, PyPy e potlakile ka makhetlo a 'maloa ho feta ts'ebetsong ea khale ea Python ho C (CPython). Theko ea ts'ebetso e phahameng le ts'ebeliso ea pokello ea JIT ke ts'ebeliso e phahameng ea memori - kakaretso ea tšebeliso ea memori lits'ebetsong tse rarahaneng le tse nkang nako e telele (mohlala, ha PyPy e hlophisoa ke PyPy ka boeona) e feta ts'ebeliso ea CPython ka halofo le halofo makhetlo a mabeli.

Tokollo e ncha e bohlokoa bakeng sa ho tsitsisa ts'ehetso ea Python 3.6, eo pele e neng e le maemong a beta, le ts'ebetsong ea JIT bakeng sa meralo ea Aarch64 (ARM64). Ho boetse ho kentsoe decoder e ncha ea JSON, e potlakileng haholo, e sebelisang mohopolo o fokolang, 'me e lokiselitsoe JIT. Mojule oa CFFI 1.13 (C Foreign Function Interface) o nchafalitsoe ka ho kengoa tšebetsong ha sehokelo bakeng sa mesebetsi ea mehala e ngotsoeng ka C le C ++. CFFI e khothaletsoa ho sebelisana le khoutu ea C, ha cppyy e khothaletsoa bakeng sa khoutu ea C ++. Mojule oa _ssl o thehiloeng ho CFI o khutliselitsoe lekaleng la PyPy2.7. Li-module tsa _hashlib le _crypt li fetotsoe ho sebelisa CFFI.

Source: opennet.ru

Eketsa ka tlhaloso