If Python is slow compared to other languages, then why are we still using it?

Asked by Last Modified  

4 Answers

Learn Python

Follow 2
Answer

Please enter your answer

Tutor

"Python is slow" is a misunderstanding. For instance, if you use some of the most popular libraries (like Numpu, Scipy, Panda, etc.), then is too fast compared to core Python code. It is because of the most libraries are written in best language for the different platform. For instance, most code of...
read more
"Python is slow" is a misunderstanding. For instance, if you use some of the most popular libraries (like Numpu, Scipy, Panda, etc.), then is too fast compared to core Python code. It is because of the most libraries are written in best language for the different platform. For instance, most code of Numpy is written in C/C++. In addition, there are many python tools for optimal utilization of the underlying hardware. For instance, Theano/Theanets/Keras takes code in python, and they "convert" your coding in the best way possible for your system. It can use underlying GPU, multiple processors, or cluster without much efforts. Because of this, you don't have to learn C, C++, CUDA, OpenCV, etc. Python is very popular for it's simplistic and readability. Because of simplicity, it's popular in search. A researcher can write modify his/her experiment quickly. Readability is one of the important factors in an industry environment as maintenance of software takes 60-80% of the total effort. In addition to above, what else one needs? Good libraries for various tasks? There are lots of libraries. You name the task, and most likely there will be a library. This makes the development of software and experiment-setup for research very easy. read less
Comments

B.Tech tutor for IIT JEE Mains and 12 board - Maths & Physics.

Very good question............ a thing is in use ONLY as long as it has some ADVANTAGE over other. Every language has its own pros & cons. There are situations/applications where speed of execution is of second importance. Python has several advantages , it is a DEVELOPERS delight , because 1.It has...
read more
Very good question............ a thing is in use ONLY as long as it has some ADVANTAGE over other. Every language has its own pros & cons. There are situations/applications where speed of execution is of second importance. Python has several advantages , it is a DEVELOPERS delight , because 1.It has simplest syntax 2. it has the best in-built functions , no other language has as many functions on data structures like lists, dictionaries, etc 3. It has best & fastest libraries/frameworks for latest technologies like Data Science, Machine learning, Big data, web development , Scientific & Numerical programming, Embedded systems, IoT etc . read less
Comments

It Professional and Trainer With 3 Year of Experience

depends what career you want to choose
Comments

Trainer

Best thing about Python as it have lots of inbuilt API for support all kinds of tasks even ML, AI, OS. and very easy when you writing code. for ex. when you define variable you not need to specify variable just by assigning value it ll identify the type of variable. which most of languages like c, c++,...
read more
Best thing about Python as it have lots of inbuilt API for support all kinds of tasks even ML, AI, OS. and very easy when you writing code. for ex. when you define variable you not need to specify variable just by assigning value it ll identify the type of variable. which most of languages like c, c++, java don't have which are faster than python. similarly it have more other advantages which make tester or QA to prior regarding automation and development. read less
Comments

View 2 more Answers

Related Questions

Is Python an easy language to learn?
While Python is considered one of the easiest programming languages for a beginner to learn, it can be hard to master. Anyone can learn Python if they work hard enough at it, but becoming a Python Developer...
Profile Photo
Hariprasad
0 0
View Comments5
which is best in Rpa and python
Python is much preferrable, I would suggest you to go for Python. As it is now a days used in Automations too.
Profile Photo
K
As a fresher I have done Python training, but hardly getting response from any company. What should I do?
only having training in Python is not enough to be called for intervew. Better you should get real time certification course form reputed organisation with smart hand-on real project exposure. Try to have...
Profile Photo
Yamini
0 0
View Comments6

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Python Concurrent v/s Parallel Programming
Concurrent means, more than one task happening at a time in interleaved fashion, (ie.,)Task 'A' starts, and Task 'B' starts before task 'A' finish, after processing its(A and B) own purpose both the task...
Profile Photo

Why Do People Choose Python?
Lot of programming languages are available in the market today, but why do people choose python over them? What made it different from other scirpting languages. So factors made it unique, as below: Software...
Profile Photo

PEP (Python Enhancement Proposals)
Python Enhancement Proposals(PEP) are suggestions for improvements to the language, made by experienced Python developers. PEP 8 is a style guide on the subject of writing readable code. It contains a...
D

Deleted User

0 0
View Comments0


Multiple Decorators
#Multiple decorators can be chained in Python.#A function can be decorated multiple times with different (or same) decorators.#We simply place the decorators above the desired function. def star(func):...
Profile Photo

Recommended Articles

Python is one of the most popular programming languages in the world. It is general-purpose, object oriented, high-level programming language used in a number of programming fields. Python is a great programming language to learn as it will introduce you to the world of programming. If you are from the technical background...

Read full article >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Applications engineering is a hot trend in the current IT market.  An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company’s manufacturing, marketing, sales, and customer...

Read full article >

Looking for Python Training classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you