1–7 Oct 2022
Universitat Politècnica de Catalunya
Europe/Madrid timezone

How C++ and Python can thrive together

2 Oct 2022, 15:25
40m
Room 2

Room 2

Talk (40 min) How To

Speakers

Shyamnath PremnadhDr Cristián Maureira-Fredes (The Qt Company)

Description

It is common to see people - that is just starting to understand programming - ask questions like "What's the best language for ...?", "Should I use ... or ...?", among other questions related to really opinionated topics.

Besides the subjective nature of the answers, most people know that there is no silver bullet to solve all our programming-related problems. Even if you can solve a wide range of them, there might be situations where you are spending tons of time (and lines of code) to get something done that in other programming languages is no more than a couple of minutes of effort.

Maybe you are thinking already of some language combinations that get you covered for most situations, but I would like to focus your attention on the usage of C++ together with Python.

Including a new language into a framework ecosystem is no easy task, and moreover
is not only about "being able to use it", but there are also many other details about the added value one can generate by using a new language like Python. Additionally, adding a new language can be a good way of getting "new ideas" to consider in the development of future releases.

This talk will focus not only on the language's nature, or where they excel, but also on how their success is linked. More crucial to us, we will discuss how Python jumped into the Qt/C++ world to enrich the ecosystem, bring more use cases, and even better, expose Qt to a whole new generation of programmers.

Familiarization with C++ and Python is required to attend this talk, but newcomers are encouraged to participate as well.

Description Having Python related talks might be a good idea to get the attention of people that's still not fully familiarized with C++, and exposing cases where both languages can really be the star of the show is certainly a good thing to motivate them to participate. For KDE maintainers, it would be beneficial to see the opportunities they have to "plug" Python into the KDE ecosystem, bringing new possibilities and lowering the entry level for new contributors.
A short bio I have been using Python around the same time as using Qt, and since 2018 I have been actively working on the Qt for Python project at The Qt Company.

Primary author

Shyamnath Premnadh

Presentation materials