Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

C/C++ are dying too!

by philcrow (Priest)
on Apr 25, 2008 at 12:49 UTC ( [id://682814]=perlnews: print w/replies, xml ) Need Help??

Slashdot linked to this article claiming that C/C++ are losing due to manual memory management. From the article:
DDJ: Which languages seem to be losing ground? PJ: C and C++ are definitely losing ground. There is a simple explanation for this. Languages without automated garbage collection are getting out of fashion.
So, it's official, C and C++ are slipping into oblivion :-).


The Gantry Web Framework Book is now available.

Replies are listed 'Best First'.
Re: C/C++ are dying too!
by elmex (Friar) on Apr 25, 2008 at 14:09 UTC

    Somehow I wonder... almost all Languages which have been established as stable and useful Languages (C, C++, Perl) are considered "ZOMG THEY ARE DEAD!!!!!1111". I wonder whether thats just because there is more of a hype around languages like Haskell, Ocaml, Ruby, Java or Python.

    IMO a language is not dead while there are still programmers that use it. Smalltalk, for example, still has a small but active community, and as long as there is such a community, the language won't just "die".

    All this "this language dies" and "that language dies" sounds like big marketing foo and zealots fearing that their "favorite" tool is going not to be "cool" anymore. Languages, like natural languages, are changing IMO, and if one language is not up to the job, there will be another one. Currently there is no alternative to Perl (5), and there won't be one for the next 5-7 years. And it will be still around in 20 years.

      I don't personally consider COBOL to be a living language, even though there are plenty of people still using it. My definition is that if the main argument in its favor is keeping legacy applications going, it's a dead language.

      "There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.

        Pretty much agree, but IMO, s/dead/moribund/
Re: C/C++ are dying too!
by BrowserUk (Patriarch) on Apr 25, 2008 at 16:08 UTC

    The question to ask, is what language are the 'new' languages that are meant to be replacing C written in?

    Only once a replacement becomes self-hosting and bootstrapable, does it begin to become a viable alternative to C.

    If it ever becomes the language of choice for the authors of new languages, then we might have a contender.

    The only language I've seen that I think could replace C, is The D Language.

    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
      Your reasoning about D stands, but you should also consider that "languages that could replace C" also includes Java and the common dynamic languages, for a lot of programs that shouldn't have been written in C in the first place.


        Point taken, but I was thinking of "languages that could replace C" in the sense of those that could replace what C can do, rather than what people do with C.

        For example, be the language of choice used to implement "Java and the common dynamic languages". I've a funny feeling that Java is written in C++, but the point holds.

        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.
        Java can't replace C
Re: C/C++ are dying too!
by zentara (Archbishop) on Apr 25, 2008 at 19:00 UTC
    My kernel tells me otherwise....

    when they start writing fast kernels in Java, that will be the day I switch. Honestly, I think the real reason they don't have better C memory mangement, is because the college professors either don't know how to teach it, or the students are rushed thru, and they don't allow enough time to teach it. Everyone wants "canned memory management", and "point-and-click" GUI designers. I think the Universities consider you a success if you can do Excel Spreadsheets, and put a database on the Net. Anything more is considered PHd level. :-)

    Actually I thought Perl makes a pretty good percentage showing, considering it's OpenSource, freely supported, and not backed by a major corporation.

    I'm not really a human, but I play one on earth. Cogito ergo sum a bum
Re: C/C++ are dying too!
by renodino (Curate) on Apr 25, 2008 at 17:58 UTC
    DICE Search for "C++", 10 Days/No restrictions/all locations:
    All jobs: 6402
    Titles only: 963

    Keep in mind that the US is presumably in recession. (Though frankly, I haven't seen any particular drop in the Dynamic Languages Barometer. Good news for us hackers, I guess.)

    Wrt TIOBE, I think this pretty much says all that needs saying.

    Tho I suppose by properly torturing the statistics, one can state that a language's popularity is inversely proportional to the number of available jobs for the language (assuming we ignore languages that start with "Java").

    Perl Contrarian & SQL fanboy
Re: C/C++ are dying too!
by perrin (Chancellor) on Apr 25, 2008 at 14:21 UTC
    "C is dying, TIOBE confirms it!"

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlnews [id://682814]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (None)
    As of 2024-07-21 13:39 GMT
    Find Nodes?
      Voting Booth?

      No recent polls found

      erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.