Ask HN: Is C/C++ really faster than Python?

https://news.ycombinator.com/item?id=9753366
by sunilkumarc • 11 years ago
36 110 11 years ago

I have seen many people saying they choose C/C++ over Python during programming challenges because the performance of Python is lesser compared to C/C++. How correct is this fact?

If Python is actually slower compared to C/C++, how much slower is it when we implement the same algorithm in C/C++?

Is it really necessary to use only C/C++ and not Python when solving some questions which involve a lot of computation?

Related Stories

Loading related stories...

Source preview

news.ycombinator.com