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

I want to learn Python in a month. Please help me for this.
Hi Gourab. I teach Python from basic level to advanced topics ---- teach them online. If you are interested , please contact me. I have a total IT experience of over 28 years and a regular Corporate and Individual Trainer.
Gourab
Who developed Python?
Guido van Rossum
Govind
0 0
5
What is a beginner's guide to Python programming?
A beginner’s guide to Python programming starts with learning the basics, such as syntax, variables, data types, loops, and conditionals. Next, focus on understanding functions, modules, and key...
Dharmendra
0 0
6
Which technology is better to learn Linux, java or python to get a good job please help me out in this?
actually both are two different technologies, java is object oriented programming where as unix is operating sysstem so, there is no relation between both so, its your choice to learn either java or unix....
Sai

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

Ask a Question

Related Lessons

How Machine Learning Predict things - A Short Video for absolute beginners
Here is a short video for Machine Learning Beginners, who want to know how Machine Learning Algorithm predict things

Topics covered in Python Basics course
Chapter 1: Introduction Introduction to Python Setting up path Chapter 2: Variable Integer String Operators (Arithmetic, logical, relational) Chapter 3: Data Structure Tuple List Dictionary ...


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

Python (Concepts and Importance)
Python is a general-purpose, interpreted, object-oriented programming language. Python was created by "G. V. Rossum" in the Netherlands in 1990. Python has become a famous programming language widely used...

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