Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×
Programming IT Technology

The Future of C++ As Seen By Its Creator 424

holden writes "In a rare public talk, C++ creator Dr. Bjarne Stroustrup discusses his ideal in programming languages, as well how he sees the next version (and beyond) of C++ developing. He explains the general selection criteria used for adding new features, some of the legacy of C++, and many other interesting topics. Especially interesting is during the Q&A he explains his views of the embrace and extend mentality some implementations, such as VC++, have taken."
This discussion has been archived. No new comments can be posted.

The Future of C++ As Seen By Its Creator

Comments Filter:
  • Re:uh... (Score:4, Funny)

    by neonmonk ( 467567 ) on Monday August 13, 2007 @07:08AM (#20210279)
    Agreed. I don't see the point in video unless they're actually showing up some fancy technology. ...Or, alternatively, they've got really nice jugs.
  • Re:uh... (Score:5, Funny)

    by LiquidCoooled ( 634315 ) on Monday August 13, 2007 @07:11AM (#20210299) Homepage Journal
    Good afternoon everybody, I would like to start by including iostream.h into the discussion.

    After this we can get onto the main proceedings which might or might not return anything.

    We move to the future by emitting a string of "Hello world" before returning zero.

    This is the end of the discussion I hope it was informative.
  • by JosefAssad ( 1138611 ) on Monday August 13, 2007 @07:15AM (#20210321) Homepage
    At least we won't get any "RTFA, moron!" comments in this article.

    But seriously, I like slashdot because, unlike digg, we get ARTICLES, not videos. I'm not watching this. In protest, here's a completely misinformed and irrelevant comment which extrapolates a lot of very outlandish conclusions from the article summary:

    Stoustrup just wants to make sure VC++ doesn't eat into the market share of his new linux-powered RC car, CTTOX. He has been embracing and extending C ofr many years now; if congress weren't so impeachment-obsessed, they would have slapped him with anticompetitive sanctions. What is a doctor doing talking about languages anyhow, he should leave that to linguists like Alan Cox and stick to paediatric medicine.

    Or, to rephrase, give me text links or give me fatal and catastrophic loss of message and meaning

  • by Anonymous Coward on Monday August 13, 2007 @07:19AM (#20210343)
    The future of BASIC has been envisioned as a language to do more and more intricate beeping loops in high school classes.
  • by tygerstripes ( 832644 ) on Monday August 13, 2007 @07:24AM (#20210357)
    Great - I've been hearing a lot about C-Pound [worsethanfailure.com].
  • by neonmonk ( 467567 ) on Monday August 13, 2007 @07:28AM (#20210385)
    Don't you mean WTFV?
  • by mwvdlee ( 775178 ) on Monday August 13, 2007 @08:02AM (#20210571) Homepage
    I'd much rather prefer speechtotext in this particular case, but to each his own.
  • Re:uh... (Score:3, Funny)

    by smittyoneeach ( 243267 ) * on Monday August 13, 2007 @08:10AM (#20210615) Homepage Journal
    Stroustrup is an academic. Blowing by petty details for pedagogical reasons is a time-honored device.
  • Re:uh... (Score:5, Funny)

    by larry bagina ( 561269 ) on Monday August 13, 2007 @08:11AM (#20210621) Journal
    exception: slashdot editors.
  • by kazade84 ( 1078337 ) on Monday August 13, 2007 @08:25AM (#20210687)
    and let the syntax criticizing begin ;)
  • Re:uh... (Score:5, Funny)

    by Odin's Raven ( 145278 ) on Monday August 13, 2007 @08:31AM (#20210711)

    Good afternoon everybody, I would like to start by including iostream.h into the discussion.

    That ruined the joke for me. Like Stroustrup would ever include the legacy non-namespaced header!

    I'm sure he only did that to ensure compatability with older members of the audience.
  • by Anonymous Coward on Monday August 13, 2007 @08:34AM (#20210737)
    This is slashdot, a magical land where functional languages are popular and scripting languages are fast...
  • by ezdude ( 885983 ) on Monday August 13, 2007 @08:37AM (#20210757) Journal
    And it looks something like Haskell. Static typing, lazy evaluation, high-level parallelism, pure functionality, explicit imperative-ness. Heck, monads even sound like something from the future.
  • Re:uh... (Score:5, Funny)

    by Mr. Underbridge ( 666784 ) on Monday August 13, 2007 @08:44AM (#20210823)

    I'm sure he only did that to ensure compatability with older members of the audience.

    Then the joke should have been in COBOL.

  • Re:uh... (Score:5, Funny)

    by cerberusss ( 660701 ) on Monday August 13, 2007 @08:50AM (#20210889) Journal
    Here ya go, buddy.

    Interviewer: Well, it's been a few years since you changed the world of software design, how does it feel, looking back?

    Stroustrup: Actually, I was thinking about those days, just before you arrived. Do you remember? Everyone was writing 'C' and, the trouble was, they were pretty damn good at it. Universities got pretty good at teaching it, too. They were turning out competent - I stress the word 'competent' - graduates at a phenomenal rate. That's what caused the problem.

    Interviewer: Problem?

    Stroustrup: Yes, problem. Remember when everyone wrote Cobol?

    Interviewer: Of course, I did too

    Stroustrup: Well, in the beginning, these guys were like demi-gods. Their salaries were high, and they were treated like royalty.

    Interviewer: Those were the days, eh?

    Stroustrup: Right. So what happened? IBM got sick of it, and invested millions in training programmers, till they were a dime a dozen.

    Interviewer: That's why I got out. Salaries dropped within a year, to the point where being a journalist actually paid better.

    Stroustrup: Exactly. Well, the same happened with 'C' programmers.

    Interviewer: I see, but what's the point?

    Stroustrup: Well, one day, when I was sitting in my office, I thought of this little scheme, which would redress the balance a little. I thought 'I wonder what would happen, if there were a language so complicated, so difficult to learn, that nobody would ever be able to swamp the market with programmers? Actually, I got some of the ideas from X10, you know, X windows. That was such a bitch of a graphics system, that it only just ran on those Sun 3/60 things. They had all the ingredients for what I wanted. A really diculously complex syntax, obscure functions, and pseudo-OO structure. Even now, nobody writes raw X-windows code. Motif is the only way to go if you want to retain your sanity.

    Interviewer: You're kidding...?

    Stroustrup: Not a bit of it. In fact, there was another problem. Unix was written in 'C', which meant that any 'C' programmer could very easily become a systems programmer. Remember what a mainframe systems programmer used to earn?

    Interviewer: You bet I do, that's what I used to do.

    Stroustrup: OK, so this new language had to divorce itself from Unix, by hiding all the system calls that bound the two together so nicely. This would enable guys who only knew about DOS to earn a decent living too.

    Interviewer: I don't believe you said that...

    Stroustrup: Well, it's been long enough, now, and I believe most people have figured out for themselves that C++ is a waste of time but, I must say, it's taken them a lot longer than I thought it would.

    Interviewer: So how exactly did you do it?

    Stroustrup: It was only supposed to be a joke, I never thought people would take the book seriously. Anyone with half a brain can see that object-oriented programming is counter-intuitive, illogical and inefficient.

    Interviewer: What?

    Stroustrup: And as for 're-useable code' - when did you ever hear of a company re-using its code?

    Interviewer: Well, never, actually, but...

    Stroustrup: There you are then. Mind you, a few tried, in the early days. There was this Oregon company - Mentor Graphics, I think they were called - really caught a cold trying to rewrite everything in C++ in about '90 or '91. I felt sorry for them really, but I thought people would learn from their mistakes.

    Interviewer: Obviously, they didn't?

    Stroustrup: Not in the slightest. Trouble is, most companies hush-up all their major blunders, and explaining a $30 million loss to the shareholders would have been difficult. Give them their due, though, they made it work in the end.

    Interviewer: They did? Well, there you are then, it proves O-O works.

    Stroustrup: Well, almost. The executable was so huge, it took five minutes to load, on an HP workstation, with 128MB of RAM. Then it ran like treacle. Actually, I thought this would be a majo
  • by Random832 ( 694525 ) on Monday August 13, 2007 @09:03AM (#20210981)
    (should have been named ~C) And Godwin's law has been invoked/fulfilled/whatever.
  • Re:uh... (Score:3, Funny)

    by StarReaver ( 1070668 ) on Monday August 13, 2007 @09:42AM (#20211349)

    Reduce the language to just one word for everything and you'll be fine.
    If there were only
    One word per definition
    Haiku would be dull.
  • by nschubach ( 922175 ) on Monday August 13, 2007 @09:45AM (#20211373) Journal
    i cumpleetly understand wut ur sayin. its much esyer to reed things on teh internets than it evar wuz be4.
  • by theendlessnow ( 516149 ) * on Monday August 13, 2007 @10:52AM (#20212129)
    I tried to post a comment on this story, but was unable to upload my video response.
    (sigh)
  • Re:uh... (Score:5, Funny)

    by epee1221 ( 873140 ) on Monday August 13, 2007 @11:47AM (#20212815)
    Reduce the language to just one word for everything and you'll be double-plus good!
  • Re:uh... (Score:3, Funny)

    by Hoi Polloi ( 522990 ) on Monday August 13, 2007 @11:50AM (#20212851) Journal
    I skipped that meeting when I saw it was void. Can't get anything out of those things.
  • by Bluesman ( 104513 ) on Monday August 13, 2007 @12:03PM (#20213003) Homepage
    Yeah, what's with all these weird functions like CMPXCHG, XOR, MOVS, and PUSH?

    That Windows C++ stuff, boy, it sure is weird!

  • Stroustrup (Score:2, Funny)

    by Anonymous Coward on Monday August 13, 2007 @12:15PM (#20213151)
    always wondered who the strstr function was named after...
  • Re:uh... (Score:5, Funny)

    by Anonymous Coward on Monday August 13, 2007 @12:52PM (#20213565)
    COBOL is already a joke.
  • by billstewart ( 78916 ) on Monday August 13, 2007 @03:10PM (#20215345) Journal
    I've only seen two. One is that there was a company Ryan McFarland that made a COBOL compiler for Unix named "rmcobol" - everybody thought that sounded like a good idea.


    The other came out on Usenet in the 80s and went something like

    Hey Rocky, watch me pull a computer program out of my hat!
    Oh, Bullwinkle, that trick never works!
    100 PROCEDURE DIVISION .... [couple more lines like that]
    Guess I oughta get another hat!

    Some of my coworkers got it, but a couple of them didn't. The disturbing part was that they recognized the Cobol program, but were too young to recognize Rocky and Bullwinkle...

You knew the job was dangerous when you took it, Fred. -- Superchicken

Working...