Binary Language or Alternatives

  • Thread starter Thread starter Vurg
  • Start date Start date
  • Tags Tags
    Binary Language
AI Thread Summary
Artificial intelligence (AI) projects primarily utilize modern programming languages such as C++, Python, and Java, rather than direct binary coding. While these high-level languages are eventually converted to binary through compilers, the focus is on more human-readable forms of coding. AI also heavily relies on mathematical concepts, including statistics, probability, and linear algebra, with different approaches to AI, such as traditional AI and cognitive AI, which emulates brain functions. There is a distinction between "strong AI," often depicted in media, and "weak AI," which is the practical application in use today. The discussion touches on the misconception that AI operates solely on binary logic, emphasizing that while expert systems often use binary predicates, neural networks operate on real-valued functions, addressing complexities beyond simple true/false evaluations. The conversation also highlights the relevance of binary in programming through boolean variables and bit flags, despite a misunderstanding regarding the nature of programming languages versus logic languages.
Vurg
Messages
2
Reaction score
0
Do artificial intelligence projects usually revolve around using some sort of binary language or are there alternative mathematical languages and is there combinations of mathematical languages being investigated? I always thought that the prime numbers 3 and 5 have some potential that 2 doesn't have and consider merging multiple languages that are based on these prime numbers very interesting.
 
Technology news on Phys.org
Artificial Intelligence usually revolves around modern programming languages, not binary. Example: C++, C, C#, Java, Python, Lisp, Prolog, etc. These are all names of modern day programming languages hardly anyone writes directly in binary now of days. It does however come up in assembly programming.

The higher-level modern languages eventually do become converted to binary at the lowest levels. However, most of this is automated now and transitioned to binary by a compiler, from a more human readable language.

This is dependent upon the type of language being used as certain languages are designed to work differently then others, as well as which environment this code might be running. Some hardware let's you write to it once and if you want to go back and edit it, it must be done in assembly/machine language.

Artificial Intelligence is also heavily reliant on statistics, probability, linear algebra, physics, control theory, etc. It depends however, what you describe as artificial intelligence there is usually different approaches to AI.

Two major different categories are simply the old traditional ways in which AI has been done, and cognitive AI, which relies more on neuroscience, and trying to emulate what the brain is believed to do.

However, it should be noted there is also a difference between the type of AI you see in the movies namely "strong AI" compared to what is actually being used "weak AI."
 
Last edited:
MathWarrior said:
... modern day programming languages hardly anyone writes directly in binary now of days. It does however come up in assembly programming.

No, assembly language was developed specifically to get AWAY from binary (machine language) programming. It is of course only the first step away but it is NOT binary programming.
 
Vurg said:
Do artificial intelligence projects usually revolve around using some sort of binary language or are there alternative mathematical languages and is there combinations of mathematical languages being investigated? I always thought that the prime numbers 3 and 5 have some potential that 2 doesn't have and consider merging multiple languages that are based on these prime numbers very interesting.

What can you possibly mean by "languages base on these prime numbers" ? Do you have any concept of how computers actually work? ALL computers are based on binary for the very simple reason that that is how electronics works.
 
MathWarrior and phinds, that is not what the OP asked.

Most expert systems are binary. Yes, the logic behind some predicate function in an expert system might well be (and almost always is) written in a high order language. However, whether it is written in a high order language or in machine language is irrelevant. What matters is that the predicate is a boolean function. The predicate either fires or it does not. There is a lot of well-developed and well thought out machinery for handling rules based on binary predicates.

Expert systems are not the be-all and end-all of artificial intelligence. Neural networks also fit into the realm of AI. Neural networks assume a differentiable, real-valued set of functions. There is no yes or no in neural networks (except perhaps at the final output). Neural networks address shades of grey.

Some optimization problems also fit into the realm of AI. Once again, the logic behind these is not boolean.
 
Just to comment upon the usage of binary in modern programming. In general, binary is still very much used in modern programming, bit flags and BOOL or boolean variables are based upon the evaluation of a condition - 1 or 0; true or false.
 
You might want to Google and read up on fuzzy logic.
 
x BlueRobot said:
Just to comment upon the usage of binary in modern programming. In general, binary is still very much used in modern programming, bit flags and BOOL or boolean variables are based upon the evaluation of a condition - 1 or 0; true or false.

Yes, that's true. It's also irrelevant to the concept of programming in a binary LANGAUGE which is what has been discussed so far in this thread.
 
D H said:
MathWarrior and phinds, that is not what the OP asked.

Ah ... got it now. Thanks for correcting me on that. Now that you point it out, I see that he is not asking at all about CODING languages but rather logic languages.

A man with a hammer see every problem as a nail, and computer programming (not artificial intelligence) is my hammer.
 
Back
Top