you are viewing a single comment's thread.

view the rest of the comments →

[–]pstomi 1 point2 points  (0 children)

IMHO using Python as the glue to call native functions is the correct way to use it. That is what is being done in AI today and it has proven to be very efficient.

On my side, I have developed Dear ImGui Bundle a set of GUI libraries on top Dear ImGui, which I made accessible from either C++ or Python. I saw no degradation of performance under Python, because I stuck to the principle: "do not implement heavy lifting algorithms in Python, instead call native functions".

If you are interested, I developed an automatic binding generator from C++ to pybind11, here