Antonio Cuni

Dr. Antonio Cuni is a Principal Software Engineer at Anaconda. He is the author of SPy, a core developer of PyScript and PyPy, and one of the founders of the HPy project, which aims to design a better and more modern C API for Python. He loves to write tools from developers for developers, such as Pdb++, fancycompleter and vmprof and he is creator/maintainer/contributor of numerous other open source projects. He have also been very active in the Python community for years, giving talks at various conferences such as EuroPython, EuroSciPy, PyCon Italia, and many others. He regularly writes on the PyPy blog and on the HPy blog. His main areas of interest are compilers, language implementation, TDD and performance.


Sessions

07-08
09:30
90min
C API Summit
Antonio Cuni, Petr Viktorin
  • When: Monday, July 8th.
  • Where: Prague Congress Centre (PCC), Room Club D
  • Who can join: Anyone with a valid in-person EuroPython 2024 ticket - Conference, Tutorial or Combined (see ticket types for details).

The C API has many different stakeholders, including but not limited to
CPython core developers, maintainers of Python extensions, code generators
(Cython, pybind11, etc) and alternative API design (HPy).

The main goal of this summit is to make sure that people from all these
different projects can meet and discuss about the state of the C API, existing
challenges and ongoing work.

Agenda

  • 9:00: Meet and greet - unconference-y post-it based organisation.
  • 9:30: Presentations (30 mins each)
  • 11:00: Coffee
  • 11:15: Presentations
  • 12:45: Lunch at the PCC (included)
  • 13:45: Unconference-y activities (discussions, hacks, ad hoc tutorials etc…)
  • 16:00: Round-up / plenary session for feedback and organising next steps.
  • 18:30: Dinner

Registration

You need to have a valid EuroPython in-person ticket (Conference, Tutorial or Combined) to participate. Purchase a EuroPython ticket here, if you haven't already.

The event is limited to 40 participants. If there is a topic you would like to present, please indicate it in the form and fill it in early. Time slots are of 30 min at most (10 min of presentation + 20 min for questions/discussion).

To be part of the C API summit, register your interest now!

We will contact you with more details closer to the event.

Club D
07-08
11:15
90min
C API Summit
Antonio Cuni, Petr Viktorin
  • When: Monday, July 8th.
  • Where: Prague Congress Centre (PCC), Room Club D
  • Who can join: Anyone with a valid in-person EuroPython 2024 ticket - Conference, Tutorial or Combined (see ticket types for details).

The C API has many different stakeholders, including but not limited to
CPython core developers, maintainers of Python extensions, code generators
(Cython, pybind11, etc) and alternative API design (HPy).

The main goal of this summit is to make sure that people from all these
different projects can meet and discuss about the state of the C API, existing
challenges and ongoing work.

Agenda

  • 9:00: Meet and greet - unconference-y post-it based organisation.
  • 9:30: Presentations (30 mins each)
  • 11:00: Coffee
  • 11:15: Presentations
  • 12:45: Lunch at the PCC (included)
  • 13:45: Unconference-y activities (discussions, hacks, ad hoc tutorials etc…)
  • 16:00: Round-up / plenary session for feedback and organising next steps.
  • 18:30: Dinner

Registration

You need to have a valid EuroPython in-person ticket (Conference, Tutorial or Combined) to participate. Purchase a EuroPython ticket here, if you haven't already.

The event is limited to 40 participants. If there is a topic you would like to present, please indicate it in the form and fill it in early. Time slots are of 30 min at most (10 min of presentation + 20 min for questions/discussion).

To be part of the C API summit, register your interest now!

We will contact you with more details closer to the event.

Club D
07-08
13:45
90min
C API Summit
Antonio Cuni, Petr Viktorin
  • When: Monday, July 8th.
  • Where: Prague Congress Centre (PCC), Room Club D
  • Who can join: Anyone with a valid in-person EuroPython 2024 ticket - Conference, Tutorial or Combined (see ticket types for details).

The C API has many different stakeholders, including but not limited to
CPython core developers, maintainers of Python extensions, code generators
(Cython, pybind11, etc) and alternative API design (HPy).

The main goal of this summit is to make sure that people from all these
different projects can meet and discuss about the state of the C API, existing
challenges and ongoing work.

Agenda

  • 9:00: Meet and greet - unconference-y post-it based organisation.
  • 9:30: Presentations (30 mins each)
  • 11:00: Coffee
  • 11:15: Presentations
  • 12:45: Lunch at the PCC (included)
  • 13:45: Unconference-y activities (discussions, hacks, ad hoc tutorials etc…)
  • 16:00: Round-up / plenary session for feedback and organising next steps.
  • 18:30: Dinner

Registration

You need to have a valid EuroPython in-person ticket (Conference, Tutorial or Combined) to participate. Purchase a EuroPython ticket here, if you haven't already.

The event is limited to 40 participants. If there is a topic you would like to present, please indicate it in the form and fill it in early. Time slots are of 30 min at most (10 min of presentation + 20 min for questions/discussion).

To be part of the C API summit, register your interest now!

We will contact you with more details closer to the event.

Club D
07-08
15:30
90min
C API Summit
Antonio Cuni, Petr Viktorin
  • When: Monday, July 8th.
  • Where: Prague Congress Centre (PCC), Room Club D
  • Who can join: Anyone with a valid in-person EuroPython 2024 ticket - Conference, Tutorial or Combined (see ticket types for details).

The C API has many different stakeholders, including but not limited to
CPython core developers, maintainers of Python extensions, code generators
(Cython, pybind11, etc) and alternative API design (HPy).

The main goal of this summit is to make sure that people from all these
different projects can meet and discuss about the state of the C API, existing
challenges and ongoing work.

Agenda

  • 9:00: Meet and greet - unconference-y post-it based organisation.
  • 9:30: Presentations (30 mins each)
  • 11:00: Coffee
  • 11:15: Presentations
  • 12:45: Lunch at the PCC (included)
  • 13:45: Unconference-y activities (discussions, hacks, ad hoc tutorials etc…)
  • 16:00: Round-up / plenary session for feedback and organising next steps.
  • 18:30: Dinner

Registration

You need to have a valid EuroPython in-person ticket (Conference, Tutorial or Combined) to participate. Purchase a EuroPython ticket here, if you haven't already.

The event is limited to 40 participants. If there is a topic you would like to present, please indicate it in the form and fill it in early. Time slots are of 30 min at most (10 min of presentation + 20 min for questions/discussion).

To be part of the C API summit, register your interest now!

We will contact you with more details closer to the event.

Club D
07-10
10:45
45min
SPy (Static Python) lang: fast as C, Pythonic as Python
Antonio Cuni

SPy is a brand new statically typed variant of Python which aim to get performance comparable to system languages such as C and C++, while preserving the "Pythonic feeling" of the language.

The main idea behind SPy is that "modern Python" is actually a subset of Python:

  • many of the most dynamic features of the language are considered bad practice and actively discouraged;

  • the alway-increasingly adoption of typing leads to codebases which are largerly statically typed.

However, these rules are not enforced by the language, and there are cases in which "breaking the rules" is actually useful and make the code easier/better/faster.

From the point of view of language implementors, the VM cannot easily take advantage of the "mostly static" nature of programs because it has always to be ready for the generic case.

SPy tries to reconcile these two sides:

  • it uses a static type system which is designed specifically for safety and performance;

  • the vast majority of "dynamic" feature of Python (like decorators, metaclasses, __special_methods__, ...) can be used at zero cost, since they are resolved at compile time by using meta-programming and partial evaluation techniques.

This talk will present in the details the ideas behind SPy and its current status.

Python Internals & Ecosystem
Forum Hall