2025-07-25 –, Auditorium
With the recent popularity of new programming languages that are improving the Python ecosystem, one cannot dismiss the role of “old” languages like C++, and how the new versions might stay relevant.
On this talk, we will dive directly into the internals on how the Qt for Python project brought one of the most popular C++ frameworks into Python - but not only with 1-to1 bindings.
With the recent popularity of new programming languages that are improving the Python ecosystem, one cannot dismiss the role of “old” languages like C++, and how the new versions might stay relevant.
With these ideas in mind, how do you bring a huge project, as old as Python, written in C++ to Python? If you are thinking: «…just create some bindings and call it a day» you will be surprised.
On this talk, we will dive directly into the internals on how the Qt for Python project brought one of the most popular C++ frameworks into Python - but not only with 1-to1 bindings.
We will discuss about build systems, packaging, limited API, interpreters support, Platform and API compatibility, Python and C++ types, ecosystem awareness, CPython code generation, communities, documentation, and many more challenging aspects of maintaining and developing a C++ library in Python.
After this talk, you will not only understand why exposing an existing library from one language to another is much more than just binding them together, but also you will be able to start developing Python applications with Qt.
Outline
- Introduction to C++ and quick summary of changes from the recent versions
- Describing the Qt framework, history, features and scope.
- Exposing C++ projects into Python
+ Build system details
+ Limited API and CPython
+ Packaging and distribution
- [demo] Developing an hybrid Python and C++ application
- [demo] Developing a Qt for Python application from Scratch
Advanced
What are the main topics of your talk?:CPython, Extensions, Language Interoperability
Cristián is is a serial conference and community organizer in many countries, and participates in different initiatives like the translation of the Python documentation into Spanish, PyLadies Berlin & Con, PyPI moderation, and a few more. He is one of the coordinators of the Python en Español initiative, that aims to gather all the Spanish speaking python communities in one place. Due to his contributions, he got awarded a PSF Fellowship in 2021 and got elected to the PSF Board of Directors in 2024. His day job is at The Qt Company, working as a team lead of the Qt for Python (PySide) project, and Qt Core (Berlin).