> "performance usually doesn't matter, and if it matters, is not because of the 
> language, but because of the code written"
> 
> I dont know why you write this statement -- it is obviously wrong, and I am 
> sure you know that it is wrong.

It's not entirely wrong. For _many_ applications, performance doesn't matter. 
For those applications that do, algorithms typically matter a **lot** more than 
the choice of programming language.

For example, on a sufficiently large list (which probably isn't very large) a 
custom-written [Bubble 
Sort](https://en.wikipedia.org/wiki/Bubble_sort#Analysis) in the C language (or 
Nim, or even assembly) will always lose to Python's built-in `sort`, because 
[TimSort](https://en.wikipedia.org/wiki/Timsort#Analysis) scales far, far 
better.

Things like this are not that uncommon. This is one reason higher-level 
languages can outperform hand-coded assembly in some cases: it's easier, and 
more efficient, to write good, correct algorithms in higher-level languages.

Reply via email to