View Poll Results: What is your favorite language to program in?

Voters
27. You may not vote on this poll
  • C/C++

    25 92.59%
  • Assembly

    1 3.70%
  • Visual Basic

    0 0%
  • Delphi

    1 3.70%
  • Java

    0 0%
  • Perl

    0 0%
  • Other

    0 0%

Thread: What's so great about C++?

  1. #1

    Question What's so great about C++?

    Tell me something, why is C++ so great? What sets it above other languages? Is it safe to assume that everybody likes it just because it is popular? What ever happened to Perl, Delphi, or Assembly? Wouldn't programmers rather program in assembly? Assembly is so much faster, the executables are so much smaller, and you have so much more control. You actually have a much better idea of what is going into your executable, unlike C++. So tell me, why is C++ so great?
    -Mike
    {InFeStEd-ArCh0n}

  2. #2
    Registered User Liam Battle's Avatar
    Join Date
    Jan 2002
    Posts
    114
    C++ and Assembly are both kick ass, but C++ is more supported in the way of extra crap.. (ie. Multimedia) . if you want to be a power programmer and make good coin, i suggest not just being a hardcore C/C++ programmer, but also have good knowledge of Assembly...

    It helps !

    C++ OWNZ J00
    LB0: * Life once school is done
    LB1: N <- WakeUp;
    LB2: N <- C++_Code;
    LB3: N >= Tired : N <- Sleep;
    LB4: JMP*-3;

  3. #3
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,490
    [sarcasm]
    good idea, putting a poll asking for your favorite language in a c++ board.
    [/sarcasm]

    i know it's been done many times, but what the hell...
    i don't know what delphi is, so anything i might say about that is utter lies.
    why is C++ so great?
    it's a good language. flexible, portable, object-oriented, and yet somewhat low level.
    What sets it above other languages?
    it doesn't surpass any one language in doing something. it combines speed and low-level control with the benefits of a higher-level language, ie, objects.
    Is it safe to assume that everybody likes it just because it is popular?
    it's a safe bet, although not the whole story. it had to become popular sometime.
    What ever happened to Perl
    it's a scripting language, mostly. it's usually combined with another more general language for use in programming.
    Delphi
    no idea
    or Assembly?
    assembly is absolutely not portable. it might only work on one breed of x86 machines. if you're creating a program in assembly, updating it to conform to standards (or perhaps to make it more efficient) is a huge task. assembly is a bunch of instructions, mostly. modifiying a program in assembly is difficult, because every part depends on the conditions being right for that part. for example, a change needs to keep the registers the way they were beforehand. a lot of modifying could introduce many PUSH and POP statements that could slow a program down.
    Wouldn't programmers rather program in assembly?
    i can't speak for all programmers, but ... no.
    Assembly is so much faster, the executables are so much smaller, and you have so much more control. You actually have a much better idea of what is going into your executable, unlike C++.
    true.
    [code]So tell me, why is C++ so great?[/quote]
    because speed, executable size, absolute control over the computer, and a better understanding of the internal mechanics of the target computer is not necessary. in any language, code is reasonably fast when its written well and compiled. executables
    don't need to be smaller. control is nice, but it's impossible to anticipate the target computer at times. besides, control and optimization sometimes distracts the programmers efforts from writing bug-free and working code.
    this is just my opinion, of course. everyone is entitled to their language.

  4. #4
    Used Registerer jdinger's Avatar
    Join Date
    Feb 2002
    Posts
    1,065
    Didn't we just go through one of these posts? And don't you expect a wee bit biased reaction on your poll considering what kind of message board this is?

    I use whatever language the current project calls for. I haven't really played with assembly too much, but I want to get into it. I seriously doubt I'd ever write a full, large scale app in asm. I'd like to use it inline in my C++ code to add a little speed (but more than anything just to learn something from using it).

  5. #5
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    Assembly is so much faster, the executables are so much smaller, and you have so much more control. You actually have a much better idea of what is going into your executable, unlike C++.
    A big disadvantage of assembly is bad maintanability. A very good reason to use C++ instead of assembly is that is much better to maintain.

  6. #6
    Poll was just out of curiousity to see if there was somebody else out of all you people to pick one that wasn't C++. If I had my choose I'd pick assembly.
    -Mike
    {InFeStEd-ArCh0n}

  7. #7
    Registered User
    Join Date
    Apr 2002
    Posts
    249

    Wink Why ... because...

    Did you ask yourself...
    why the sun rises from the east and land in the west...?
    or why I am a life... ?

    I will give you an answer...
    " in the begining it was the word... (John 1.1)"
    and here is the same...

    I do respect Delphi as I used to program in Delphi. but still C++ is the Queen of all these languages...
    and any other language is better than V.B .. that is the one that I will not learn... Some poeple know why I don't like it! .

    To be the best, it should have the best properties.. and C++ does.
    C++ is the best... and that is it...

    C++
    The best

  8. #8
    In The Light
    Join Date
    Oct 2001
    Posts
    598
    howdy.
    PORTABILITY PORTABILITY, PORTABILITY
    I don't like you very much. Please post a lot less.
    Cheez
    *and then*
    No, I know you were joking. My point still stands.

  9. #9
    In The Light
    Join Date
    Oct 2001
    Posts
    598
    howdy.
    PORTABILITY, PORTABILITY, PORTABILITY
    any more questions???

    M.R.
    I don't like you very much. Please post a lot less.
    Cheez
    *and then*
    No, I know you were joking. My point still stands.

  10. #10
    I don't yet get why ASM isn't so portable. Let's say I were to write a program for windows in MASM32. Then I would assemble the program for x86 processors, let's say 386, it wouldn't be able to run in any and every windows environment (given the version differences)?
    -Mike
    {InFeStEd-ArCh0n}

  11. #11
    Registered User Xei's Avatar
    Join Date
    May 2002
    Posts
    719

    I dont know

    I believe that ASM is very portable. Its low level, so it can do anything(to my knowlege) I dont think that gaming engines are made out of C++ completely. I think ASM is very useful depending on what you want to create with it.

  12. #12

    Thumbs up

    I agree very much with his statement!
    -Mike
    {InFeStEd-ArCh0n}

  13. #13
    Registered User Liam Battle's Avatar
    Join Date
    Jan 2002
    Posts
    114
    actually most game engines are built out of C++ completly... (+ or - some ASM code)...

    anyhow i have a poll im gonna post...
    LB0: * Life once school is done
    LB1: N <- WakeUp;
    LB2: N <- C++_Code;
    LB3: N >= Tired : N <- Sleep;
    LB4: JMP*-3;

  14. #14
    It would be faster in assembly but everyone is so damn lazy.
    -Mike
    {InFeStEd-ArCh0n}

  15. #15
    Used Registerer jdinger's Avatar
    Join Date
    Feb 2002
    Posts
    1,065
    Everyone is so lazy? A game in C++ is going to run roughly 100,000 lines of code, and that's on the small end. Now how many lines of asm do you think that would amount to? And that 100,000 lines of code is greatly reduced from what would be needed without classes/structs. That much more in asm.

    asm is not portable at all. Porting to different versions of Windows does not equal portable. The same C++ code can be ported from Mac, Linux, Windows, X-Box, Game Cube, etc. with minor changes in a well written program. Look at major cross platform games, then check out the postmortems in GameDeveloper mag, you'll see. asm is reliant on the type of processor. It's far from portable.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Making great graphics
    By MadCow257 in forum Game Programming
    Replies: 1
    Last Post: 02-20-2006, 11:59 PM
  2. Google: How to make a great app no one can use
    By nickname_changed in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 03-10-2005, 07:31 AM
  3. Great Teacher..
    By vasanth in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 03-03-2003, 06:40 AM
  4. A great C/C++ community
    By Donk in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 06-15-2002, 08:05 PM
  5. A great community
    By Betazep in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 02-11-2002, 11:16 PM