Did you like how we did? Rate your experience!

4.5

satisfied

46 votes

Why does using Python as an orchestration language for C?

When someone writes C++ code, they have to clean up after themselves. Thats what I assume you mean by manual memory management. Any correctly-written C++ library will clean up after itself and wont need or expect its caller to do any clean-up. A badly-written library might not clean up after itself, causing a memory leak, but theres nothing the Python calling code can do about that anyway. If the leak was bad enough, people would just stop using that library. Its like when you employ a professional painter to paint your house. You dont expect to have to clean up after them when you get home; you expect them bring any necessary equipment to clean up afterwards and leave the place clean and tidy. That doesnt imply that they didnt make a mess, and then clean it up, before you saw the finished job.

100%
Loading, please wait...