Binary Language or Alternatives

  • Thread starter Thread starter Vurg
  • Start date Start date
  • Tags Tags
    Binary Language
Click For Summary
SUMMARY

This discussion centers on the role of binary language in artificial intelligence (AI) projects and explores the potential of alternative mathematical languages. While modern programming languages such as C++, Java, and Python are predominantly used, they ultimately compile down to binary for execution. The conversation highlights the distinction between traditional AI methods and cognitive AI, emphasizing the reliance on various mathematical concepts like statistics and linear algebra. Additionally, it clarifies that while assembly language is a step away from binary, all computers fundamentally operate on binary principles.

PREREQUISITES
  • Understanding of modern programming languages (C++, Java, Python)
  • Basic knowledge of assembly language and machine language
  • Familiarity with mathematical concepts relevant to AI (statistics, linear algebra)
  • Awareness of AI categories (traditional AI vs. cognitive AI)
NEXT STEPS
  • Research the role of assembly language in modern programming environments
  • Explore the principles of neural networks and their applications in AI
  • Study fuzzy logic and its implications for programming and AI decision-making
  • Investigate the differences between strong AI and weak AI in practical applications
USEFUL FOR

Software developers, AI researchers, computer science students, and anyone interested in the foundational concepts of artificial intelligence and programming 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 language 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.
 

Similar threads

Replies
16
Views
4K
  • · Replies 6 ·
Replies
6
Views
13K
  • · Replies 5 ·
Replies
5
Views
4K
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • Sticky
  • · Replies 0 ·
Replies
0
Views
4K
  • · Replies 10 ·
Replies
10
Views
2K
  • Sticky
  • · Replies 13 ·
Replies
13
Views
8K