Which amoung these programming languages is the best with artificial intelligence. Python, Java,C++ and C?
- ChrisLv 72 months agoFavorite Answer
Anything that is labelled "artificial intelligence" by overeager idiots should rather be described as what it actually is: "a bunch of IF statements and a database".
There are even people who go so far as to claim that the AI nonsense is pushed by the automobile industry in particular to obscure the fact that if a self-driving car kills people by accident, it's not some AI that's responsible but very human programmers.
Given that, this question is nonsense. Neither of these languages "is the best with AI".
What you should be asking is "I want to use the Tensorflow library but I'm completely clueless about programming in general. How can I get started in an easy way?"
To which the answer is you should probably start with Python, since it's pretty easy to get into if you have never programmed before.
- 2 months ago
Python is the best programming language for artificial intelligence.
Python is considered to be in the first place in the list of all AI development languages due to the simplicity. The syntaxes belonging to python are very simple and can be easily learnt. Therefore, many AI algorithms can be easily implemented in it.
Python takes short development time in comparison to other languages like Java, C++ or Ruby. Python supports object oriented, functional as well as procedure oriented styles of programming. There are plenty of libraries in python, which make our tasks easier. For example: Numpy is a library for python that helps us to solve many scientific computations. Also, we have Pybrain, which is for using machine learning in Python.
- ️️️️️️️️️️️️️️️Lv 72 months ago
not at all in my opinion
- 2 months ago
Option 1 and 3 🙏
- How do you think about the answers? You can sign in to vote the answer.
- ℑℑLv 72 months ago
I think the term you mean to use is machine learning. C++ is good because it is a fast programming language, but some of the more advanced concepts can be difficult to learn. If you do machine learning in C++, you would want to get familiar with different machine learning libraries. You wouldn't want to code up a neural network from scratch.
For machine learning, Python is best because its syntax is simpler and not as difficult to learn.If you have an advanced understanding of all three, C++ would be better if you want better runtime performance. If you don't care about performance, go with Python.
If you are a beginner who is just getting started, R is another programming language for machine learning. Like Python, it also has much simpler syntax--compared to C++. Although, beyond working with data and machine learning models, you would not want to use R.
Overall, for machine learning (AI), choose R or Python.R is a good place to start if you're new to programming/machine learning. If you aren't new to programming then go with Python. Even if you are new to programming, Python is also a good place to start when it comes to machine learning. Python is the most popular as most jobs hiring machine learning engineers will be looking for someone to code using Python.There will be jobs looking for some to code in R, but the vast majority would want experience in Python. There are also plenty of online tutorials for R and Python in machine learning.
- ∅Lv 72 months ago
C++ is by far the most versatile, but also the hardest to learn...
"best" depends on what you want to do...
- Anonymous2 months ago
You probably would want to start with a high level dedicated library for creating and training artificial neural networks like Keras before getting into the nitty gritty of setting the entire thing up for yourself using a lower level number crunching library.
To this effect, it'd be much easier to get started using python. But it deserves note that most of python is written in c and c++ due to their speed and capabilities to work with the hardware.
- dewcoonsLv 72 months ago
"C" is the source for all the other languages you listed. C++ is just C with some libraries added. If you added those same (free and downloadable libraries) to your C, you would have C++
JAVA was developed by the same people who made C. The difference is that C is a compiled language. You turn the original code into machine code that is ready to run. However this limits it to only running on one platform. A C program written for Windows (Intel processors) will not run on a MAC or on Linux. Or as an app on a Droid tablet or phone. It would have to be re-compiled into machine code for each of those devices.
JAVA is not compiled, but is interpreted at the time the program runs. The devices has to have a copy of the Java Runtime on it. the Java Runtime reads through the code as the program is running and converts it to machine code at that time. So a JAVA program will run on Windows, a MAC, Linux, or as an app on a Droid device. That is why it is used for web apps (where you can predict what kind of device will run it) or for phone and tablet apps.
C and JAVA both are able to do exactly the same things. You can write an AI program just as easily in either. (In fact their commands and options are almost identical.) It just depends on whether you want the program to be device dependent (have to have a version for each OS) or device independent (same code runs on anything.)
Note that because C is compiled, it runs faster and is harder to hack and more secure. While with a JAVA program the code can be easily seen and altered.
Python is a newer language. Like JAVA, it is an interpreted language. As such, it is slower and less secure than C. However it has better memory management (they did not have huge amounts of memory to manage with C was created the 1960s). And it has fewer keywords (less commands you have to know). And the commands are often more "English like". Because it has limited keywords (fewer commands) it is not designed to do programs as complex as C can.
- PLv 72 months ago
"Artificial Intelligence" is used as more of a marketing term by big tech to make their services sound a lot more exciting than they are. At the end of the day people are just writing software that smartly responds and functions. People would be using C# .net or Python unless they are working on legacy programs. Sometimes your code has to work with a specific set of hardware that could also require a specific language. At the end of the day it depends on what you are doing.