HPy: A Better C API for Python

Publié le: 05 décembre 2022
sur la chaîne: 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


Sur cette page du site, vous pouvez voir la vidéo en ligne HPy: A Better C API for Python durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Code Geek 05 décembre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 185 fois et il a aimé 9 téléspectateurs. Bon visionnage!