HPy: A Better C API for Python

Publicado em: 05 Dezembro 2022
no canal de: Code Geek
185
9

Learn about HPy, a better C API for Python. It's a new C API designed from the ground
CPython: The Python Programming Language
☞ https://morioh.com/p/d1fa99129fd9
18 Python scripts that help you write code faster
☞ https://morioh.com/p/4f4b74ba17cc
APIs Tutorial for Beginners - What, Why and How to Use an API?
☞ https://morioh.com/p/422b616d71a2

Learn about HPy, a better C API for Python. It's a new C API designed from the ground


The official Python C API is specific to the current implementation of CPython. It has served us well and forms the basis upon which our entire extension ecosystem rests.
However, it exposes a lot of internal details which makes it hard to implement it for other Python implementations (e.g. PyPy, GraalPython, Jython, IronPython, etc.), and prevents major evolutions of CPython itself, such as using a GC instead of refcounting, or removing the GIL.

This is where HPy comes in. It's a new C API designed from the ground up according to the following goals:
running much faster on alternate implementations, and at native speed on CPython
making it possible to compile a single binary which runs unmodified on all supported Python implementations and versions
being simpler and more manageable than the Python/C API
providing an improved debugging experience.

We'll discuss its current status and show how existing extensions can be gradually ported to it.

#HPy #Python #Morioh

Original video at    • HPy: a better C API for Python - pres...  

Note: If you have any copyright issue with the content used in our channel or you find something that belongs to you, before you claim it to Youtube, SEND US A MESSAGE and the respective content will be DELETED right away. Thanks for understanding.

◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
👕 Merchandise: https://www.moteefe.com/store/developer?cp...
🌎 Social Network for Developers: https://morioh.com/
📱 Twitter: https://twitter.com/moriohdotcom


Nesta página do site você pode assistir ao vídeo on-line HPy: A Better C API for Python duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Code Geek 05 Dezembro 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 185 vezes e gostou 9 espectadores. Boa visualização!