ACCU Membership: https://tinyurl.com/ydnfkcyn
---
Using Reflection to Generate C++ Python Bindings - Callum Piper - ACCU 2025
---
Python bindings for C++ can be valuable tools for developers who wish to make C++ libraries available for use in Python. There are many reasons developers may wish to do this, including testing, prototyping, or performance.
One of the issues often faced when writing Python bindings for C++ is the need to write excessive amounts of boilerplate code to bridge the gap between the C++ types and interfaces and their Python equivalents. Some libraries make this easier than others, but there is always overhead.
One of the easier and more commonly used libraries is PyBind11. This talk will explore how you can use Reflection in C++ to generate some of the necessary boilerplate code required when using PyBind11. We will present real-world examples that can be compiled using the latest experimental versions of compilers that support Reflection, and we'll also generate genuine, usable Python bindings. While these compilers are still under development, this will still highlight how the use of Reflection can simplify -- and abstract away -- the generation of some simple boilerplate code. We will also look at the limitations of such an approach and what we might aim for in the future.
Slides: https://accu.org/conf-previous/accu2025/
Join think-cell as a C++ Developer and work on cutting-edge challenges with a focus on code excellence, innovation, and working alongside an international team of experts — apply now to be part of a team shaping the future of business presentations. https://www.think-cell.com/en/career
---
Callum Piper
Callum Piper has been writing C++ since 2000. He has spent five years as a Senior Software Engineer at Bloomberg, working on Derivatives Pricing services. Prior to joining Bloomberg, Callum was a consultant for more than 10 years, during which he worked on a wide range of different teams across a number of financial, tech, and retail companies -- with vastly different experiences and results. He started his career at a small robotics company outside Cambridge that did work in the pharmaceutical industry. Callum is very interested in both understanding and improving how teams solve problems and deliver high quality software solutions for clients.
Video Sponsored By JetBrains
---
The ACCU Conference is the annual conference of the ACCU membership, but is open to any and all who wish to attend. The tagline for the ACCU is 'Professionalism in Programming', which captures the whole spectrum of programming languages, tools, techniques and processes involved in advancing our craft. While there remains a core of C and C++ - with many members participating in respective ISO standards bodies - the conference, like the organisation, embraces other language ecosystems and you should expect to see sessions on C#, D, F#, Go, Javascript, Haskell, Java, Kotlin, Lisp, Python, Ruby, Rust, Swift and more.The ACCU Conference is a conference by programmers for programmers about programming.
Discounted rates for members.
ACCU Membership: https://tinyurl.com/ydnfkcyn
2025 Program: https://accu.org/conf-previous/accu2025/
https://accu.org
https://www.accuconference.org/
https://mastodon.social/@ACCUConf
/ accu-conference
https://bsky.app/profile/accuconf.bsk...
/ accuorg
/ accuconf
---
YouTube Videos Filmed, Edited & Optimised by Digital Medium: https://events.digital-medium.co.uk
#accuconf #cppprogramming #cpp #cplusplus #cplusplusprogramming #programming #softwaredevelopment #softwareengineer #programmingconcepts #coding #programmingtutorial #python #code #programmer
Информация по комментариям в разработке