C++ in Python the Easy Way!

Published: 03 April 2021
on channel: Jack of Some
101,503
2.1k

You voted, so here it is. I tried to condense everything you might need to know to get going with writing Python interfaces to C++ code. The breakdown is

0:00 Intro
0:39 Absolute minimum example
2:28 Exploration of generated module
3:25 Classes
4:49 STL containers, Python types
6:20 Numpy support
7:24 Properties
8:00 The GIL

#python #cplusplus

All the code for this can be found here: https://gist.github.com/safijari/f7ae...

The official CMake example: https://github.com/pybind/cmake_example

Definitely check out my sponsor at https://www.hbtapp.com

Join the subreddit at reddit.com/r/JackOfSome


On this page of the site you can watch the video online C++ in Python the Easy Way! with a duration of hours minute second in good quality, which was uploaded by the user Jack of Some 03 April 2021, share the link with friends and acquaintances, this video has already been watched 101,503 times on youtube and it was liked by 2.1 thousand viewers. Enjoy your viewing!