Downvotes are because you misread what he said. The benefit in Python is savings in developer time, not computing time. Yes, "equal quality" C++ code would likely run faster. What /u/jgardner was saying is that it would take you much longer to write that "equal quality" code in C++ compared to Python.
Now that we have std::unique_ptr memory leaks are actually pretty hard to introduce in c++. I know a decent number of developers who won't let code with 'new' or 'malloc' past review.
-5
u/icp1994 Jan 05 '18 edited Jan 05 '18
how? no way it should be possible with equal quality of C++ codes
edit: why am I getting downvoted for saying python codes shouldn't be way faster than equivalent c++ code. expected this sub to be more mature