if c++ went away

This is a discussion on if c++ went away within the C++ Programming forums, part of the General Programming Boards category; I'm gonna get shot for this...but learning asm is what helped me the most. C++ and C are simply assembly ...

  1. #16
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    I'm gonna get shot for this...but learning asm is what helped me the most. C++ and C are simply assembly language when it gets down to the nitty gritty.

    Because of this I have strayed away from C++ at times because some of the assembly code it produces has an awful lot of calls. C++ is awesome but it can become quite tedious and confusing when you start inheriting from 50 other classes. Exaggeration but you get my point. I don't think in terms of C and C++ anymore but more in terms of what the end code is. There are things I can code in C than could just as easily be done in BASIC or in Java. In the end, it's all assembly. Even though assembly is not portable all of your C code whether on a mac or on an 8086 based system ends up as asm code. So if you code for a mac, my advice would be to study the mac architecture. Herein lies a root problem IMO. There are C programmers that are coding with little to no idea of what the code is doing in relation to the architecture of the CPU. Then they wonder why it is so dang slow or why it behaves the way it does. Business code its not so important and I can see the need for portability and all of that in that sector.

    IMO the forefront of programming technology is in the entertainment sector or more appropriately.....games. You cant get away with crapola code for very long in a game before the whole thing comes crashing down....like a bad Windows session.
    Look to this sector to come out with some of the biggest, baddest, fastest, slickest code and languages - if need be.

    Kudos to those who say languages don't die. They don't. They are either re-vamped as new tools or polished up and used again. Languages are tools and the attitude that one is dead or not is like saying that flat head screwdrivers are useless because now we have phillips screwdrivers. So no assembly is not dead, Pascal is not dead, and heck even BASIC is not dead.

  2. #17
    Registered User axon's Avatar
    Join Date
    Feb 2003
    Location
    Mt. Prospect, IL
    Posts
    2,572
    I agree with everything that Bubba said above. This also applies to this this thread where we are talking about learning computer science on your own versus school. I'm wondering if any of the self learners ever picked up a logic/circuit design book? how can you trully be a good, well rounded programmer if you are not fully aware of the limitations of the hardware that you are working with. All CSE majors at my school need to take 3 computer architecture classes...I'm taking my first one now, and it has opened my eyes on a variety of things, many of which I was not aware of before. BTW, IMO building your own computer does not mean you know computer architecture or logic design by a long shot.

    some entropy with that sink? entropysink.com

    there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka

  3. #18
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    yeah, actually that's how i got into programming (i'm self-taught) I started learning a little electrical engineering on my own and when my math teacher saw me drawing a diagaram he said I should look into programming... so I did, and here I am now...
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  4. #19
    Registered User
    Join Date
    Sep 2003
    Posts
    135
    Originally posted by Zach L.
    Indeedy... My CS instructor has a really great saying to that effect: "Guys, you can teach a monkey to program, but you can't teach a monkey computer science."
    That's bull$$$$. Any 'monkey' that can program in C++ can understand computer science.

  5. #20
    Registered User axon's Avatar
    Join Date
    Feb 2003
    Location
    Mt. Prospect, IL
    Posts
    2,572
    Originally posted by Omnius
    That's bull$$$$. Any 'monkey' that can program in C++ can understand computer science.
    Omnius, how long did you have to think about making that response? Seriously, it looks like you poured out half your brain when writting that post. If you don't have anything interesting/insigthful to say, that you can backup with sufficient argument - don't say anything at all.

    some entropy with that sink? entropysink.com

    there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka

  6. #21
    twm
    twm is offline
    root
    Join Date
    Sep 2003
    Posts
    232
    >that you can backup with sufficient argument
    Sufficient argument like "My CS instructor has a really great saying"?
    The information given in this message is known to work on FreeBSD 4.8 STABLE.
    *The above statement is false if I was too lazy to test it.*
    Please take note that I am not a technical writer, nor do I care to become one.
    If someone finds a mistake, gleaming error or typo, do me a favor...bite me.
    Don't assume that I'm ever entirely serious or entirely joking.

  7. #22
    Registered User
    Join Date
    Sep 2003
    Posts
    135
    Originally posted by axon
    Seriously, it looks like you poured out half your brain when writting that post.
    If you mean that 'seriously' you need to get out more.

  8. #23
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    Originally posted by twm
    >that you can backup with sufficient argument
    Sufficient argument like "My CS instructor has a really great saying"?
    I wasn't arguing anything there.
    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.

  9. #24
    Banned frenchfry164's Avatar
    Join Date
    Oct 2001
    Posts
    1,552
    If a new language comes out, I think it would be based on C++. It would probably just add a little more language stuff to it.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

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