SLCentral - Your logical choice for computing and technology
Latest Deals   
Navigation
  • Home
  • Search
  • Forums
  • Hardware
  • Games
  • Tech News
  • Deals
  • Prices
  • A Guru's World
  • CPU/Memory Watch
  • Site Info
  • SL Newsletter
    Recieve bi-weekly updates on news, new articles, and more


    Forum home My SLBoards (Control Panel)View the calendar View the members list Read the FAQ Search the forums

    Go Back   SLCentral Forum > Technology > Hardware
    User Name
    Password


    Reply
     
    Thread Tools Search this Thread Display Modes
      #1  
    Old 03-19-01, 08:23 PM
    Unregistered
    Guest
     
    Posts: n/a
    Exclamation

    Does anyone out there know what language programming languages are written in?

    For example, what language was C++ written in? And so on and so fourth. HELP! Nobody knows the answer to this question!!

    >Ryan
    Reply With Quote
      #2  
    Old 03-19-01, 10:53 PM
    Devnut's Avatar
    Devnut Devnut is offline
    Developer
     
    Join Date: Dec 2000
    Location: Port Angeles, WA
    Posts: 230
    Devnut is off the scale
    Send a message via ICQ to Devnut
    Default

    That's a secret! (I'd tell you.. however, I really would have to kill you.. :)

    Ryan
    Reply With Quote
      #3  
    Old 03-20-01, 03:43 AM
    Unregistered
    Guest
     
    Posts: n/a
    Default Serious Questions Only

    I would appreciate only serious answers to this question be posted.

    If you have a stupid comment like the one above keep it to yourself.

    Thanks!
    Reply With Quote
      #4  
    Old 03-20-01, 04:16 AM
    primeforce primeforce is offline
    Registered User
     
    Join Date: Mar 2001
    Location: Australia
    Posts: 13
    primeforce is off the scale
    Send a message via ICQ to primeforce
    Default

    what language is c++ written in? i'll explain
    C++ is what is called a High-level language, so programs can be written in it, and be understood by people
    after you write a program, a compiler converts the program into a language called machine code. you don't have yo worry how it works, just that it does.
    If you want to program, you just have to know a high-level language
    Now, I have to kill you
    __________________
    "I never let schooling get in the
    way of my education"
    -Mark Twain
    Reply With Quote
      #5  
    Old 03-20-01, 08:01 AM
    Devnut's Avatar
    Devnut Devnut is offline
    Developer
     
    Join Date: Dec 2000
    Location: Port Angeles, WA
    Posts: 230
    Devnut is off the scale
    Send a message via ICQ to Devnut
    Default

    .. hehe..

    Ryan.. (the one that started the thread.. ).. it might be to your benefit to lighten up JUST a touch.. I was going to tell you within a post or two, but I didn't realize that it was such a life & death situation..

    Ryan
    Reply With Quote
      #6  
    Old 03-20-01, 12:32 PM
    Cutriss's Avatar
    Cutriss Cutriss is offline
    Dancing Hero
     
    Join Date: Feb 2001
    Location: Over there
    Posts: 1,163
    Cutriss is off the scale
    Default I know the answer...

    I had a friend in Operating Systems and Compiler Construction last year.

    Now, I think this is really a few separate questions, so I'll answer as necessary.

    1. What language are programming languages written in?
    #Programming languages are written with whatever syntax and tokens the creator originally intended. A programming language is just a grammar for input. Now, you may be asking how C++ is different from Pascal, and why Java programs run slower than C++ or something like that...

    2. What makes one programming language different from another?
    #The secret is actually in the compiler. The compiler is a program that knows how to convert instructions written using a particular grammar into machine code. It then outputs the machine code into a file. The machine code is what actually gets executed by a kernel.
    Programs are subject to interpretation and different compiling methods, so one language doesn't necessarily do things better than another one (Except maybe in readability or simplicity), but on a whole they may provide for a faster executable due to algorithm handling or any number of different things. If you were a real coding guru (and a masochist), you could write a compiler and the appropriate development tools to make blazing-fast COBOL software. The problem is that COBOL wasn't really designed for that, and as a result, nobody else's compilers will compile your programs, and your compiler may not do theirs as well anymore.

    3. What language is a compiler written in?
    #Well, again, it doesn't really matter. The compiler could be written in C++ (A likely idea) or a number of different languages. You wouldn't really know, though, because you're just executing the machine code when you run the compiler. And certain languages and their compilers may have their strengths, so you might be able to make an educated guess, but in the end, it doesn't really matter.
    And for the record, you do write compiling tools using compiling tools. The first one had to be written in assembly, of course. Boy, is that ever a pain... :-P
    __________________
    "And knowing is half the battle!"
    Reply With Quote
      #7  
    Old 03-20-01, 12:35 PM
    Cutriss's Avatar
    Cutriss Cutriss is offline
    Dancing Hero
     
    Join Date: Feb 2001
    Location: Over there
    Posts: 1,163
    Cutriss is off the scale
    Laughing Oh...

    If you REALLY wanted to be technical about it, C++ was written in C.
    __________________
    "And knowing is half the battle!"
    Reply With Quote
      #8  
    Old 03-20-01, 06:57 PM
    Unregistered
    Guest
     
    Posts: n/a
    Default

    C++ was actually the "Brain-Child" of Owen L. Astrachan, after getting pretty much fed up with alot of the manual aspect of C. Yes, it was based off of C, and yes, many of the same declarations are exactly the same. However, programming languages are written mostly from the ground up, in an Assembler language. That is pretty much the most "hard-core" programmer you can get to be.

    I only know one person who currently writes in Assember, and what he is working on is actually building his own compiler, which will be the most versitile compiler. (He is basically fed up with C++ functions) What the basic theory behind what he is working on is that you use a language properties, your code, witten within these properties, and his own memory management system(completely written in Assember).

    I do have to say that this guy is not an average student...he gets horrible grades, however is a genious in any sense that he taught himself assember, C, C++, Java, etc. He has practically based the next few years on completeling this himself... Did I mention he hates PCs, and is in love with his Powerbook? -- However is coding completely cross paltform/cross proccessor.

    In any event, if your crazy enought, head over to the website for the project...alot of the completed source code is on the site: http://www.uppermute.com.


    Quote:
    after you write a program, a compiler converts the program into a language called machine code. you don't have yo worry how it works, just that it does.
    If you want to program, you just have to know a high-level language


    Well, I guess if you want to understand memory swapping, YOU DO need to know the lower levels of machine code that is nearly impossible to read.

    Just a quite side note: Machine code is something like 10:1....Every 10 or so lines of machine code, you could use 1 line in a higer level language (C++, C, etc).

    Well, I guess that I have alot to say about lower/higher level programming. And that if you EVER decide to start learning Assember, make sure you have ALOT of time...it is complicated.

    Lemme know if you have anything else under consideration.

    -Massy
    Reply With Quote
      #9  
    Old 03-20-01, 06:59 PM
    Unregistered
    Guest
     
    Posts: n/a
    Default

    Sorry, made a mistake...the website is:

    http://www.uppermute.org

    Hey, what happend? Why did I get logged off from being registered on my previous post?
    Reply With Quote
    Reply


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    vB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump



    All times are GMT -8. The time now is 10:48 PM.

    Archive - Search Engine Friendly URLs by vBSEO 3.0.0 RC6 © 2006, Crawlability, Inc. Top
    Browse the various sections of the site
    Hardware
    Reviews, Articles, News, All Reviews...
    Gaming
    Reviews, Articles, News...
    Regular Sections
    A Guru's World, CPU/Memory Watch, SLDeals...
    SLBoards
    Forums, Register(Free), Todays Discussions...
    Site Info
    Search, About Us, Advertise...
    Search Engine Friendly URLs by vBSEO 3.0.0 RC6 © 2006, Crawlability, Inc. Legal | Advertising | Site Info