Whenever we see any new programming language, we tend to compare it with others, and as of now Python is one of the most upcoming and used programming language for various applications like IoT, Data Science, etc.

Let us see how python stands with other languages.


Python programs are much slower compared to JAVA, but they take much less time to develop and are nearly 3-5 times shorter than JAVA codes. This is due to Python’s built-in high level datatypes and dynamic typing. For example, a JAVA programmer will waste too much time in declaring variables and assigning datatypes to it, while in Python you don’t require to do anything like this as it has powerful polymorphic list and dictionary types, for which rich syntactic support is built straight into the language. Thus, there is run-time typing in Python and so Python’s runtime must work harder than JAVA’s. That means, when we evaluate a + b expression, java need to first inspect the object a and object b to find out their type, which is not known at compile time. It then invokes the appropriate addition operation, which may be an overloaded user-defined method. JAVA, on the other hand, can perform an efficient integer or floating point addition, but requires variable declarations for a and b, and does not allow overloading of the + operator for instances of user-defined classes.

For these reasons, Python is much better suited as a “glue” language, while JAVA is better characterized as a low-level implementation language. A Python implementation written in JAVA is under development, which allows calling Python code from JAVA and vice versa. Combination of both would give excellent performance. Components can be written in JAVA and combined to form applications in Python.


Almost everything said for JAVA, also applies to C++, in fact where Python code is 3-5 times shorter than JAVA code, it is 5-10 shorter than C++ code. What Python programmer can do in two months, can’t be done by a C++ programmer even in a year.


One major thing is that C#.NET is proprietary while Python is open source. Hence, there are going to be lots and lots of open source libraries available for Python compared to C#.NET. It is also easy to learn and useful for cross-platform development.  But, when you think about development process and tools, language features as well as standard libraries, C#.NET would be a winner. Moreover, Python is more readable due to its very simple syntax, while C# is more easier to adopt due to its consistency in syntax. At the same time you need to follow various rules for syntax while coding in C#.NET.

Python is an interpreted language while C#.NET is a compiled language. Due to CLI, C#.NET is much faster compared to Python. With PyPy’s implementation of the JIT compiler, Python’s program execution is improved. While C# wins the performance race, writing and deploying code in C# is slower than Python. Python is well-known for its easy learning curve and rapid development.


While implementation of Python in JAVA is under development, we’ve already got IronPython which is an implementation of Python in C#, so that Python developers can get the power of .NET Framework and existing .NET developers can also use IronPython as a fast and expressive scripting language for embedding, testing, or writing a new application from scratch.

Moreover, IronPython is very tightly integrated with .NET Framework such that it can use .NET Framework and Python libraries and at the same time other .NET languages can also use Python code and its libraries very easily.

Python itself has also two versions, Python2 and Python3, in next post I will discuss about it.