Slashdot Mirror


C/C++ Back On Top of the Programming Heap?

Drethon writes "On this day in 2008, a submission was posted that C/C++ was losing ground so I decided to check out its current state. It seems that C has returned to the top while Java has dropped by the same amount, VB and PHP have dropped drastically, C++ is holding fast but now in third place and Objective-C and C# have climbed quite a bit. 2008 data thanks to SatanicPuppy: 1. Java (20.5%); 2. C (.14.7%); 3. VB (11.6%); 4. PHP (10.3%); 5. C++ (9.9%); 6. Perl (5.9%); 7. Python (4.5%); 8. C# (.3.8%); 9. Ruby(2.9%); 10. Delphi (2.7%). The other 10 in the top 20 are: JavaScript, D, PL/SQL, SAS, Pascal, Lisp/Scheme, FoxPro/xBase, COBOL, Ada, and ColdFusion."

10 of 611 comments (clear)

  1. Re:Eh? by i+kan+reed · · Score: 4, Funny

    So is Lisp in some sort of state of perpetual undeath then?

  2. Re:Good news! by goombah99 · · Score: 5, Funny

    My two favorite languages aren't dying!

    Yes, Perl and Ruby combined have twice the share of python. It's really more like 20 times, since you can get ten times as much done in a single line of perl.

    --
    Some drink at the fountain of knowledge. Others just gargle.
  3. In Other News... by Anonymous Coward · · Score: 3, Funny

    Home Depot has reported that the hammer has moved up 2 places in the rankings overtaking the Phillips head screwdriver and pliers as the most widely used hand tool. Also moving up in the ranks were the flashlight and the crescent wrench, precipitating the further decline of the Allen wrench and the drill bit in the rankings.

    Haha, who still uses the Allen wrench? Clearly the Phillips head screwdriver is superior. Newbs.

    1. Re:In Other News... by vlm · · Score: 4, Funny

      Hammer - Obviously perl. Technically, you can do absolutely anything with it, but sometimes the results will look like hell. Swiss-Army Chainsaw makes a good second tool choice for perl.

      Phillips screwdriver - Obviously Ruby. The mythology is both came from Japan, although phillips doesn't sound very Japanese, in ye olden days stuff made in America had slot screws and stuff made in Japan had philips screws, so obviously phillips came from Japan. Also more ruby is probably being written outside Japan than within, now a days, but I still hear people claim Ruby is japanese.

      Just fill out a physical plant request form in triplicate and get your boss/mom to sign and your bosses boss to notarize - Obviously the hyperverbose business languages like cobol and java where hello world takes 3 pages and an hour of explanation.

      Plumbers helper / plunger - Obvious GDB reference

      Table saw - Obvious assembly language reference. Works great and fast, until you cut your hand off and it makes a mess of the project.

      Having trouble finding analogies for the rototiller and the roofing nailgun. Please advise...

      --
      "Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
  4. Re:Buffer overflow by Anonymous Coward · · Score: 1, Funny

    Sure. As soon as someone comes up with a language that produces code that runs half way as fast as C on any OS, and that at least pretends to integrate with the rest of the OS. You know, make it nice for everybody else other than developers. Oh, here's a though: how about developers get their heads out of their butts and learn how to be programmers, instead of whining that real languages don't do everything for them?

    Switch to Windows. C# and .NET do in fact run at least "half way as fast" as C and integrates with the rest of the OS fine.

    In any case, excluding a managed language on the grounds that it is not fast enough sounds like premature optimization to me. Might as well start off writing it all in assembly, since compilers don't always produce the fastest possible code.

  5. Re:Eh? by azalin · · Score: 3, Funny
    I would rather suggest it to be the gate to the underworld.

    “Through me you pass into the city of woe:
    Through me you pass into eternal pain:
    Through me among the people lost for aye.
    Justice the founder of my fabric moved:
    To rear me was the task of Power divine,
    Supremest Wisdom, and primeval Love.
    Before me things create were none, save things
    Eternal, and eternal I endure.
    Abandon all hope, ye who enter here.”

  6. Re:Good news! by spatley · · Score: 4, Funny

    ...since you can get ten times as much done in a single line of perl.

    Yes and you will be the only human on earth that knows what it does.

  7. Re:Good news! by Robert+Zenz · · Score: 3, Funny

    That's called "increasing job security".

  8. Re:Good news! by Black+Parrot · · Score: 4, Funny

    ...since you can get ten times as much done in a single line of perl.

    Yes and you will be the only human on earth that knows what it does.

    That's why we call it a "write-only" programming language.

    --
    Sheesh, evil *and* a jerk. -- Jade
  9. Re:When will people learn... by s73v3r · · Score: 3, Funny

    When you write C++ as though it were C++, you get really bad, terribly inefficient code.

    [Citation Needed]