C/C++, low or high level?

This is a discussion on C/C++, low or high level? within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I'm getting mixed information on this topic. Some people say C/C++ is a high level language, while others say it's ...

  1. #1
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719

    C/C++, low or high level?

    I'm getting mixed information on this topic. Some people say C/C++ is a high level language, while others say it's low level. But to me, it really depends on what your comparing it to. If you compare C++ to, say, Machine Language or ASM, then yes, I would think of C++ as high level. But if you compare C++ to Python, then I would consider C++ low-level. Many sites say different things, and I've seen that they are different because of how they are compared. I think it's low-level, but I don't know to much. What do you think?
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

  2. #2
    The Right Honourable psychopath's Avatar
    Join Date
    Mar 2004
    Location
    Where circles begin.
    Posts
    1,070
    I always thougt it was low-level. But that's because I compare it to languages like C#.
    Memorial University of Newfoundland
    Computer Science

    Mac and OpenGL evangelist.

  3. #3
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,434
    You are right in assuming the term is best used when compared to other programming languages. However, there's a somewhat accepted notion that high-level languages are languages that stay away from the machine language. The more the stay away from it and the closer they are to natural language (or the easier they are to get into), the more high-level they are.

    I think it's correct to assume C++ as an high level language. It stays clear from machine language, does not offer many options for direct access into the machine internals, it's highly portable, and it's syntax is very english-like.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  4. #4
    {Jaxom,Imriel,Liam}'s Dad Kennedy's Avatar
    Join Date
    Aug 2006
    Location
    Alabama
    Posts
    1,065
    The list that I was taught was (low to high):

    Object Code (written with a HEX editor, Debug, or some type of interpreter)
    Assembly

    (Rather large step)

    C
    Fortran

    (short step, but fairly far)

    C++
    Ada

    From here, it gets rather hairy, but it would be something like VC++, VB, Java, there was no C# back in my school days.

  5. #5
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,738
    Many people refer to C (and especially C++) as "Middle Level" Languages, because that gap exists which has been mentioned in all the previous posts.
    My Website

    "Circular logic is good because it is."

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Ace high and low in card game
    By ninety3gd in forum C Programming
    Replies: 3
    Last Post: 05-10-2009, 08:16 PM
  2. Low Level Drive Access?
    By coldfusion244 in forum C++ Programming
    Replies: 1
    Last Post: 03-09-2005, 07:19 AM
  3. what is the significance of low order and high order bits
    By Shadow12345 in forum Windows Programming
    Replies: 1
    Last Post: 11-16-2002, 10:46 AM
  4. high or low !
    By Beginner2002 in forum C Programming
    Replies: 3
    Last Post: 07-29-2002, 01:24 PM
  5. low value, high value and increment
    By Unregistered in forum C Programming
    Replies: 2
    Last Post: 11-25-2001, 08:01 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21