Thread: the language of the gods - C++

  1. #31
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    Originally posted by thefroggy
    > Procedural C is generally much faster than OO C++.
    This is usually true. But it also usually has to do more with design than the language itself. The problem with OO C++ is that people get used to the "ease" of objects and start passing the things around by value. If you're constantly invoking copy constructors and making multiple temporaries with every function call, it's going to 1) quickly fragment your heap (if your object has dynamically allocated members), and 2) destroy any chance of cache hits.

    Just as there is an art to coding efficient C, there is an art to coding efficient C++. C programmers have just had longer to refine it.
    Quite true. It is probably easier to design a faster procedural program, but your right that it is quite possible to write a well written and fast object-oriented program.

    Silvercord... Of course object-oriented programs/libraries are not always that great. A lot of it has to do with the design. It is just as possible to poorly design a procedural program/library as it is an object-oriented one. The initial design may be a bit easier with procedural, and there may be fewer design considerations, but that says nothing against OO design.

    Zakk, I think Ken may have been referring to a comment that I made.
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

  2. #32
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,227
    Originally posted by ZakkWylde969
    Err. Thick to get through to I see. I was talking about Linux. Linux was totally rewritten when Dennis Ritchie came up with the C language. 80% of the programs I have seen, are written in C (For Linux, See the talking about Linux pattern?) You are making this a bigger deal than it is. C has tons of support from the Linux society, it has been called the most used language before. Just stop being a prick about everything.


    And it's Zakk.

    Z A K K

    Spell it right for once.
    How are YOU this thick? I was talking about Linux too, chodeface.

    What I was saying was no matter WHAT the operating system, there's no "official" language because all languages work well. C and C++ are used most prevelantly in Linux because they're very popular languages. Actually, you made me lose track. I don't care what you think the "official" language is, what I was saying is that you're a gigantic idiot for using C because "it's the official language of Linux".

    Oh, and when I said "ZACH" I meant "ZACH" not you, you idiot.

    edit: And anyway, your history is waayyy off. Linux was not first written in some other language and then magically ported to C, because Linux was created in 1991. Guess when Bell churned out C? I'll give you a hint - way before your stupid ass was born!
    Last edited by -KEN-; 01-08-2004 at 04:10 PM.

  3. #33
    The Defective GRAPE Lurker's Avatar
    Join Date
    Feb 2003
    Posts
    949
    Who the hell cares what language a program is written in? It all turns into basically the same thing, anyway.
    Do not make direct eye contact with me.

  4. #34
    'AlHamdulillah
    Join Date
    Feb 2003
    Posts
    790
    C because "it's the official language of Linux".
    correct Ken, that is like using VB on windows cause that is what Microsoft is currently holding as the official language(not exactly, but pretty close).

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What language did they make Java in?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 07-03-2005, 04:18 PM
  2. Strange loop
    By D@rk_force in forum C++ Programming
    Replies: 22
    Last Post: 12-18-2004, 02:40 PM
  3. assembly language...the best tool for game programming?
    By silk.odyssey in forum Game Programming
    Replies: 50
    Last Post: 06-22-2004, 01:11 PM
  4. Language of choice after C++
    By gandalf_bar in forum A Brief History of Cprogramming.com
    Replies: 47
    Last Post: 06-15-2004, 01:20 AM
  5. Languages dying
    By Zewu in forum A Brief History of Cprogramming.com
    Replies: 31
    Last Post: 07-29-2003, 10:08 AM