Тёмный

HPy: The Future of Python Native Extensions - Štěpán Šindelář, Florian Angerer 

EuroPython Conference
Подписаться 33 тыс.
Просмотров 407
50% 1

[EuroPython 2023 - Forum Hall on 2023-07-19]
ep2023.europython.eu/session/...
Updating Python versions often forces us to update native extensions at the
same time. But what if you need to update Python because of a security issue,
but cannot (yet) move to a newer version of a dependency? Or you are running a
proprietary binary extension that cannot easily be recompiled?
The HPy project provides a better C extension API for Python. It compiles to
binaries that work across all versions of CPython, PyPy, GraalPy. HPy makes
porting from the existing C API easy and its design ensures that the binaries
we produce today stay binary compatible with future Python versions.
NumPy is the single largest direct user of the CPython C API we know of. After
over 2 years of work and more than 30k lines of code ported, we can demonstrate
NumPy running its tests and benchmarks with HPy. We will show the same NumPy
binary run on multiple CPython versions and GraalPy. And we will discuss
performance characteristics of this port across CPython, GraalPy, and PyPy.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License creativecommons.org/licenses/b...

Наука

Опубликовано:

 

18 сен 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии    
Далее
Lightning Talks Wednesday
46:43
Просмотров 198
Would Rust make you a better Pythonista? - Alexys Jacob
47:23
100 million nasib qilsin
00:18
Просмотров 720 тыс.
The Million Dollar Tech Stack
17:59
Просмотров 41 тыс.
CPython Core Developer Panel
1:07:53
Просмотров 854
Stop Writing Classes
27:29
Просмотров 930 тыс.
5 Good Python Habits
17:35
Просмотров 405 тыс.
Развод с OZON - ноутбук за 2875₽
17:48