Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Writing Python Bindings for C++ Libraries for Performance and Ease of Use

CppNow via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk explores how to expose C++ libraries as Python functions and objects using Boost.Python and related tools. It discusses memory management, data conversion, threading, shared pointers, build compatibility, and API design through case studies.

Syllabus

Introduction
Why Python
Hello World
C Python
Overheads
Classes
API Design
Python vs C bindings
Get by Value
Return a Reference
What If
Return Internal Reference
Exceptions
Internal Reference
Dispatchers
Design Decisions

Taught by

CppNow

Reviews

Start your review of Writing Python Bindings for C++ Libraries for Performance and Ease of Use

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.