Why is artificial intelligence driven by Python and not C++?

Asked by Last Modified  

Follow 7
Answer

Please enter your answer

The people doing the most Artificial intelligence research are not the run-of-the-mill software engineers; they do not care about memory management, cost references, and multiple inheritances. They just want tools that would allow them to visualize thier data, put together an experiment in just a few...
read more
The people doing the most Artificial intelligence research are not the run-of-the-mill software engineers; they do not care about memory management, cost references, and multiple inheritances. They just want tools that would allow them to visualize thier data, put together an experiment in just a few lines of code. Python lets them do all this, C++ does not. The underlying libraries doing the bulk of the data processing are actually C or C++. Python is used as a “glue language” which glues together multiple libraries and provides a higher-level API for accessing them. So that is why AI is driven by Python and not C++ Happy coding read less
Comments

I am an entrepreneur and have more than 35 years of experience in the IT industry

Python is best suited to focus on solving the problem rather than getting bogged down by coding. While beneath Python covers, it has significant amount of C / C++ code
Comments

IT Corporate Trainer with 9 years of experience in Edu tech

It is being driven by C++. Tensorflow is really just C++ with a thin Python wrapper over it. Try using the C++ API and you’ll understand why they created the wrapper. It’s got all the speed of C++ though. Cafe is entirely C++. I’ve never used Theano, but from googling it, it seems...
read more
It is being driven by C++. Tensorflow is really just C++ with a thin Python wrapper over it. Try using the C++ API and you’ll understand why they created the wrapper. It’s got all the speed of C++ though. Cafe is entirely C++. I’ve never used Theano, but from googling it, it seems like it uses NumPy which is C on the backend. You're correct in thinking that Python is too slow for ML (I assume that’s why you asked this). The libraries just use Python layers to simplify the interface so you don’t need to worry about obscure data types to represent matrices and the like. Even if Python was fast enough for ML, it just wouldn’t be practical to build the frameworks in that language. I mean think about all the things in which AI applications are going to be deployed on. IoT, self driving cars, security cameras, mobile phones, various purpose built devices, military devices, we’re going to need C++ frameworks for this. read less
Comments

python supported by tensorflow which is used very flexible for AI
Comments

View 2 more Answers

Related Questions

Why is Python so popular despite being so slow?
Most programmers nowadays focus on the readability and quality of the code to maintain and update the software easily in future. In addition to being simple and easy-to-learn, Python enables programmers...
I T Roxaana
0 0
5
how can i develop a python project without disturbing python core
Hi Garimella, We will help you with you requirement.Contact us.Training will enable you to complete the task.
Garimella
What are common uses of Python decorators?
Python decorators are commonly used for: 1. *Logging*: Adding logging functionality to functions or methods. 2. *Authentication*: Checking user permissions or authentication before executing a function. 3....
Narasimha
0 0
5
I want to develop website which uses rest-api and Inventory/stock functionality in Python-Django. From where should I start
It seems you want to work on Django Web Framework. The very first pre-requisite for this is that you must know Python Programming. So, I would say learn Python first before embarking on Django Web-Framework.
Sourav
0 0
9
What is Python primarily used for?
Python is primarily used for the following:Python libraries are used in Machine Learning, Deep Learning, Data Science, Artificial Intelligence fields.Python frameworks such as Django and Tkinter are used...
Raja
0 0
6

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 - Solving Ordinary Differential Equations - Predator Prey Model aka Lotka Volterra Equations
This is an assignment in Python, I contributed to a numerical Python MOOC from George Washington University. The link to this assignment on github is here. The Lotka–Volterra equations, also...
S

Sri Vallabha Deevi

0 0
1

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...


Two lists using Loops - Python Program 1
To generate a list of all possible combinations of two lists using loops, you can use nested loops to iterate through both lists and create a new list that contains all the combinations. list1 = list2...

Python in Unix
Python in Unix How to run command on unix Commands cannot be run directly on a unix server like we do in shell script. SYNTAX: system("Command") check_output("Command", shell=True) call("Command",...
R

Rishi B.

0 0
0

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 >

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 >

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 >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

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