Slashdot Mirror


Demise of C++?

fashla writes "Several somber and soul searching threads have been recently posted to the USENET newsgroup comp.lang.c++ such as "C++ is Dead" and "A Dying Era". The reason for this reflective mood is the sudden demise of the magazine C/C++ Users Journal (CUJ) http://www.cuj.com/ that had been published by CMP Media. Participating in the posts have been such C++ luminaries such as Bjarne Stroustrup and P.J. Plauger. While some contributers think that CUJ's demise is due to the general trend away from print, others think something else is afoot..."

1 of 271 comments (clear)

  1. Re:Balkanization by mrsbrisby · · Score: 1, Redundant

    Why on earth are you discussing speed of a SYSTEM CALL!

    puts() isn't a system call on UNIX. I don't know what Operating System you're referring to.

    What's being compared and discussed is the authority of C++: Bjarne repeatedly states this is the way to go, and that it is not slower nor larger than in C. Bjarne is extremely confused on that point.

    No matter what else it does the slow part is entering kernel mode and printing characters to the screen.

    No it isn't. Profile it and see for yourself.

    You are discussing a 20ns optimization on a 1ms call.

    Absolutely not. Profile it and see for yourself.

    In any event, the point is not that puts() is faster than cout << but that Bjarne Stroustrup says that cout << is how to write to standard output and that it's not slower or takes up more space than C-code.