C++ in Python the Easy Way! #pybind11

preview_player
Показать описание
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

Рекомендации по теме
Комментарии
Автор

I usually watch videos in x2 speed, however here I had to put it in 0.5x speed 🤣 I'm discovering both C++ and pybind11 so although it is hard to follow everything yet your explanation is pretty cool as it sums up most of the functionalities available in a short time, I now understand better where I need to start ! thank you

idirhouari
Автор

1:56 Me noticing the missing semicolon before he compiles while understanding very little about everything else:
"Sometimes my genius is almost frightening"

StanSays
Автор

Found your channel a few days ago, and absolutely loving your intuitive example-based explanations. It's also great that when you start covering a topic you stick to the essentials - it's short, to the point, and incredibly helpful when getting started!

esalexander
Автор

Subscribed! I love that you zoom in as necessary, which makes it perfect to watch on my smartphone... that you provide the source code much as possible... that you speak very clearly... that you actually communicate great with your many fans... and let us know what other alternatives there are for those of us not familiar with other modules.

ThankYouESM
Автор

I usually steer clear of youtube videos for technical things. But dang!! this has been super useful.

maisun_vlogs
Автор

This was really gangsta: thanks for the concise cuts. Never had to hear you take a breath: very well cut 👏🏻🙏🏼

ScriptureFirst
Автор

Very useful, although the pace was quite hard to keep up with, for me.

jacanchaplais
Автор

man your way of teaching is amazing but interesting and entertaining as well, instant sub

vintagewander
Автор

Stumbling on this video while researching this topic, I was initially disappointed to see, that it was only 10 minutes long but holy crap this is jam packed with info. Thanks a bunch!

ayuminor
Автор

wow, this is amazing, love your work!

greg
Автор

I have to write a python program to run this video at half speed. Either that or pause it ever 5 seconds. Lots of information packed into a few minutes.

fps
Автор

Great video once again. I like your speed of presentation — I usually watch tutorial or showcase videos with 1.5x speed (sometimes even 2.0x, ugh) because I detest long, drawn out sentences and vacuous rhetoric. I actually had to check whether my playback speed was still up, hahaha. Nice job!

azratosh
Автор

This is the video that I wish had existed when I started using pybind11.

macewindont
Автор

Keep making more of this, how to pass c++/py types to each other without copying.

Alan-wlxi
Автор

Literally subscribed to your channel within like 6 seconds of watching your first video 😂❤

alecmather
Автор

thanks a lot, but I met an error: ImportError: DLL load failed while importing module_name. I don't know how to fix it.

子晗曹-ee
Автор

I just want to comment that i loved this video! It's the first time a video has helped me more than any written tutorials/docs I could find, I struggled for a day before I came across this!
As a side note - I would love if you had posted the whole file-structure and a note on the dependencies, I struggled a bit before figuring out that pybind11.h needs to include Python.h and related files. I feel like that is a point practically all tutorials on pybind11 are missing, hence why I haven't gotten any of them to work for me :P

vegardjerven
Автор

Straight to the point and super clear!

dank
Автор

Nice content, thank you! I suggest slowing would be helpful as the ends of your sentences and visuals were often cut off too quickly.

gregwoolley
Автор

Hey nice video.
Pybind is really simpler than other methods i used before.
i shared with some friends thst might find it useful.

if I may, I would give just a little small feedback on the video itself.
i really like the fast paced style but would it be possible to let a second of code in the screen so it makes easier to pause and read? sometimes after the last char of the code is completed screens change and makes watching in mobile is little harder

great video and nice explanation!!!!

motbus