> An experienced C++ programmer can probably implement the 'better' algorithm equally quick in C++.
While there are programmers who can implement a given algorithm faster in C++ than Python, I suspect that they're the exception (among folks who know both).
> In an existing project in a non-C language, the C implementation will require you to write and maintain a binding as well.
If there's no c penalty, other languages wouldn't have been used as often for said existing projects to begin with.
My view is that each language has both strengths and weaknesses, so different languages are better suited to different tasks depending on factors like available personnel, existing sw, ease of implementation (to reach an acceptable level of performance).
While there are programmers who can implement a given algorithm faster in C++ than Python, I suspect that they're the exception (among folks who know both).
> In an existing project in a non-C language, the C implementation will require you to write and maintain a binding as well.
If there's no c penalty, other languages wouldn't have been used as often for said existing projects to begin with.
My view is that each language has both strengths and weaknesses, so different languages are better suited to different tasks depending on factors like available personnel, existing sw, ease of implementation (to reach an acceptable level of performance).