Comment Re:Sigh. (Score 1) 153
If C is so great, why isn't the entire PiTiVi project written in C?
Don't get me wrong, I'm a big fan of C, and it certainly has its advantages when writing performance-critical, CPU-intensive code. But it can also be slower language to develop in than higher level languages like Python. That cost in human development hours matters.
For code that doesn't need real-time execution guarantees, which describes a whole lot of projects, Python's performance is already good enough. But where it really shines is that Python drastically improves developer productivity, enabling the delivery of more value to end-users in less time and with greater flexibility as the needs of the software's users change.
The industry migrated from C to Python for the same reasons they migrated from assembly to C. (And I predict it will migrate again in my lifetime.)
C isn't a superior language to Python, it's just a different one. They make different design trade-offs and both have a well-deserved place in programmer's tool bag. As does JavaScript or Lisp or Scala.
Though, as much as you might stan for old-fashioned C and hand-written assembly, benchmarks tend to show that JIT-compiled statically-typed languages like Java can out-perform well-written C and C++ code (if you discount the JVM's startup time, which is completely fair in the case of long-running services.)
C is never going to go away. COBOL, Pascal, and BASIC still haven't gone away despite how much many people wish they would. Python is also going to be around for decades to come.