Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Binary Language or Alternatives

  1. Dec 18, 2013 #1
    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.
     
  2. jcsd
  3. Dec 18, 2013 #2
    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 lets 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: Dec 18, 2013
  4. Dec 18, 2013 #3

    phinds

    User Avatar
    Gold Member
    2016 Award

    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.
     
  5. Dec 18, 2013 #4

    phinds

    User Avatar
    Gold Member
    2016 Award

    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.
     
  6. Dec 18, 2013 #5

    D H

    User Avatar
    Staff Emeritus
    Science Advisor

    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.
     
  7. Dec 18, 2013 #6
    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.
     
  8. Dec 18, 2013 #7

    harborsparrow

    User Avatar
    Gold Member

    You might want to Google and read up on fuzzy logic.
     
  9. Dec 18, 2013 #8

    phinds

    User Avatar
    Gold Member
    2016 Award

    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.
     
  10. Dec 18, 2013 #9

    phinds

    User Avatar
    Gold Member
    2016 Award

    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.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Binary Language or Alternatives
  1. Binary matrix (Replies: 1)

  2. Binary tree (Replies: 5)

  3. Computer language (Replies: 4)

  4. New Language? (Replies: 1)

  5. Programming languages (Replies: 16)

Loading...