Slashdot Mirror


Survey Says C Dominated New '08 Open-Source Projects

svonkie writes "C overwhelmingly proved to be the most popular programming language for thousands of new open-source projects in 2008, reports The Register (UK). According to license tracker Black Duck Software, which monitors 180,000 projects on nearly 4,000 sites, almost half — 47 per cent — of new projects last year used C. 17,000 new open-source projects were created in total. Next in popularity after C came Java, with 28 per cent. In scripting, JavaScript came out on top with 20 per cent, followed by Perl with 18 per cent. PHP attracted just 11 per cent, and Ruby six per cent. The numbers are a surprise, as open-source PHP has proved popular as a web-site development language, while Ruby's been a hot topic for many."

90 of 378 comments (clear)

  1. c-derived languages? by Drantin · · Score: 4, Insightful

    Seeing as one of the projects mentioned with the most releases was in C#, is it lumping C,C++,C#, etc all under one label?

    --
    Actio personalis moritur cum persona. (Dead men don't sue)
    1. Re:c-derived languages? by daknapp · · Score: 5, Insightful

      Which it shouldn't, as C, C# and C++ seem pretty distinct.

      And what about Objective-C?

    2. Re:c-derived languages? by Faggot · · Score: 2, Insightful

      I'd expect that the C family won because of Objective-C; there was a huge amount of iPhone development this year.

      --

      But what do I know. I'm just looking for anonymous gay sex.

    3. Re:c-derived languages? by Anonymous Coward · · Score: 5, Insightful

      C is very popular for cross platform programs especially open source that don't rely on much platform specific code (c# is windows specific and c++ has some issues if you are not very careful).

      But yeah, c should not count for c++ and c#. Their syntax may be similiar but they are approached and programmed quite differently (their are other languages with similiar c syntax so but they are not lumped in).

    4. Re:c-derived languages? by iluvcapra · · Score: 4, Funny

      Open-source iPhone development?

      --
      Don't blame me, I voted for Baltar.
    5. Re:c-derived languages? by DragonWriter · · Score: 4, Informative

      I'd expect that the C family won because of Objective-C; there was a huge amount of iPhone development this year.

      I read TFA but don't have it open, ISTR that there only a small number of mobile projects, and a smaller number of those for the iPhone, on the order of 40, out of the thousands of new projects, so I don't think that Objective-C for the iPhone tipped the balance for the C family, even if they did count the C family as one unit.

    6. Re:c-derived languages? by drpimp · · Score: 4, Funny

      Now that's just being subjective!

      --
      -- Brought to you by Carl's JR
    7. Re:c-derived languages? by Anonymous Coward · · Score: 2, Insightful

      They also say that these projects "use" C, but don't say that C is the primary language being used. Most languages give programmers the option to implement parts of their program natively to either re-use existing code or optimize for performance. If a Java project contains a few native methods or a Python project has a native extension module, it would seem that those projects would count as both C and the primary language, despite the fact that the amount of C code is relatively small.

    8. Re:c-derived languages? by Goldberg's+Pants · · Score: 4, Funny

      Screw all the C variants. Where did Fortran place?

    9. Re:c-derived languages? by FishWithAHammer · · Score: 5, Informative

      c# is windows specific

      Wrong.

      --
      "You can either have software quality or you can have pointer arithmetic, but you cannot have both at the same time."
    10. Re:c-derived languages? by shaitand · · Score: 4, Insightful

      Technically no, practically yes. C# is .net specific and .net is windows specific. Mono is not 100% compatible.

    11. Re:c-derived languages? by edwardd · · Score: 3, Insightful

      Isn't Objective-C about as widely used as Esperanto?

    12. Re:c-derived languages? by Curien · · Score: 5, Funny

      Actually, C != C++ is undefined behavior.

      --
      It's always a long day... 86400 doesn't fit into a short.
    13. Re:c-derived languages? by jma05 · · Score: 4, Insightful

      > Technically no, practically yes. C# is .net specific and .net is windows specific. Mono is not 100% compatible.

      1. If (depending on version) Mono is not a perfect port of .NET, that makes .NET code using those bits, not cross-platform. That is not the same as windows specific. For instance, not every program written in Python will run on all platforms. Some of its' standard libraries are platform specific (Eg: msvcrt). But Python is considered cross-platform.

      2. C# IS cross-platform. AFAIK the compiler implementations behave identically. It's small portions of the standard library that are at fault.

      But nothing stops you from writing fully cross-platform code, if you must. Just a bit more effort.

      Personally, I gave up on C#. While C# is indeed better designed than Java, Groovy integrates with Java well and fills up any of the major feature and productivity gaps that I cared for anyway.

    14. Re:c-derived languages? by jank1887 · · Score: 3, Funny

      COBOL? Anyone? hello?

    15. Re:c-derived languages? by shaitand · · Score: 2, Insightful

      I will admit to the possibility that my information is outdated. I find it is generally best not to invest must time in MS solutions when there is a practical choice. Coding for .Net is certainly avoidable.

      From those I knew who DID use C# and wanted to use mono as an alternative the word was that mono lacked fundamental components of the standard library that were basically showstoppers (forms if I remember correctly).

      There is platform specific code for Perl, Python, etc but in practice it doesn't take much effort to write around it, in most cases there isn't even a significant advantage to using the platform specific code. There is no fundamental functionality in the interpreter that is missing on any particular platform.

      Maybe my information is dated and there is just nitpicky stuff missing from mono these days. But I don't exactly see a bunch of non-windows .Net apps (or any for that matter) popping up so I doubt it.

    16. Re:c-derived languages? by Dynedain · · Score: 4, Insightful

      You're getting funny mods, but you're more on target than you think. All the jailbreaking stuff for the iPhone is open-source, as are the package mangers you can install after jailbreaking, and most of the apps available through those package managers. It's a pretty big collection of stuff.

      --
      I'm out of my mind right now, but feel free to leave a message.....
    17. Re:c-derived languages? by chill · · Score: 4, Funny

      Where it belonged, behind Lisp!

      --
      Learning HOW to think is more important than learning WHAT to think.
    18. Re:c-derived languages? by keeboo · · Score: 4, Funny

      Replying my own - I would prefer to put it this way

      Is it cross-platform?

      Technically - Yes
      Practically - Yes
      Out-of-the-box - Not always.

      Huh?

      Well, while you're at it, why not making a more complete list:

      Technically - Yes
      Practically - Yes
      Out-of-the-box - Not always
      In principle - Yes
      Philosophically - Yes and No.
      Karmically - No
      Politically - Yes
      Hypothetically - In theory, yes

    19. Re:c-derived languages? by ogl_codemonkey · · Score: 2, Insightful

      Non-portable code can be written in any language.

    20. Re:c-derived languages? by samkass · · Score: 2, Insightful

      Isn't Objective-C about as widely used as Esperanto?

      Last I checked, it was the primary development language of one of the most popular smartphones in the world. And MacOS X's market share isn't too shabby lately, either. So I'm not sure how many Esperanto speakers there are, but I suspect they're significantly outnumbered by Objective-C fluent folks. And, of course, people USING Objective-C-based software number in the tens of millions.

      --
      E pluribus unum
    21. Re:c-derived languages? by darkvizier · · Score: 2, Funny

      why the hell would you need that in sane code.

      The variable C is a pointer to an array of objects with an overloaded != operator.
      [you insensitive clod!]

    22. Re:c-derived languages? by FishWithAHammer · · Score: 2, Informative

      From those I knew who DID use C# and wanted to use mono as an alternative the word was that mono lacked fundamental components of the standard library that were basically showstoppers (forms if I remember correctly).

      System.Windows.Forms has been essentially complete for a while now. As you say, your information is outdated.

      As for me, I don't discount any solution just because of who comes up with it, so I'm fine with .NET. To each his own.

      --
      "You can either have software quality or you can have pointer arithmetic, but you cannot have both at the same time."
    23. Re:c-derived languages? by FishWithAHammer · · Score: 2, Insightful

      Well, yes. Primary development is targeting Windows.

      But I have to ask you--for anything that you would do in Java or PHP or Perl or Python, two things:

      One: is it even worth being cross-platform? When I'm doing cross-platform stuff, invariably I find that I'm drawn to one platform's libraries because they're just better at what I want to do. For games stuff, for example, DirectX is just leagues ahead of OpenGL and the assorted other libraries, both on OS X and Linux. Similarly, if I'm doing web development I'm using PHP and thus almost certainly targeting Apache, so if I need to use PHP's POSIX extensions, why the hell not? (Cross-platform coding for its own sake is rarely useful, I find; I do it when I'll realize a benefit.)

      Two: on the flip side, if it is crossplatform--am I going to be using the stuff where compatibility matters? Between .NET and Mono, there's really very few things that I use that are incompatible with Mono. I don't use anything in the .NET 3.0 or 3.5 libraries except for LINQ, which Mono supports. System.Windows.Forms works fine. All the database stuff works fine, whether my Linux box is talking to a MS SQL database or a MySQL/PostgreSQL database. Even the 3D stuff in SDL.NET works fine on OS X, Linux, and Windows.

      Mono is behind, and there are occasional problems. I'm not saying there aren't. But the pluses of the platform in general make it worth it for me.

      --
      "You can either have software quality or you can have pointer arithmetic, but you cannot have both at the same time."
    24. Re:c-derived languages? by shaitand · · Score: 5, Informative

      'As for me, I don't discount any solution just because of who comes up with it, so I'm fine with .NET. To each his own.'

      *shrugs* We must agree to differ then. I prefer to learn from history. Historically speaking, there haven't been any useful Microsoft technologies that were or are completely interoperable, stable, relatively bugfree, and secure. Seeing as how they have released lots of technologies and solutions over the years they have had plenty of opportunities and have on numerous occasions even lied about the aforementioned things.

      Maybe .Net is/was/will be the exception. If so I'm not concerned, there are other solutions that DO meet the above criteria and work well. All in all, my track record of avoiding Microsoft solutions when something else will do will then have been the right choice about 99 out of hundred times and saved me thousands of dollars in license, support, and training costs. ;)

    25. Re:c-derived languages? by TheRaven64 · · Score: 2, Insightful
      Let's see:
      1. It's the only development language available for the iPhone, which has about 0.3% of the market share for mobile phones, but an active developer community.
      2. It's the main development language on OS X, which has around 8.5% of the desktop market share.
      3. It's well supported by GCC and open source frameworks like GNUstep, which run on *NIX and Windows (pretty much all of the remaining market share between them).

      It's also the only one of the C family I can use for large projects without hating the language.

      --
      I am TheRaven on Soylent News
    26. Re:c-derived languages? by orzetto · · Score: 3, Funny

      Mi parolas esperanton, diabla malsentemulo!

      --
      Victims of 9/11: <3000. Traffic in the US: >30,000/y
    27. Re:c-derived languages? by Octorian · · Score: 2, Insightful

      Lumping C# in with C is stupid. Lumping it in with Java makes a lot more sense. Or to put it in other words, C# is Java re-imagined (for better or worse, depending on your POV). (No, it isn't a direct copy. Too many important differences once you actually learn it.)

    28. Re:c-derived languages? by Fujisawa+Sensei · · Score: 2, Funny

      C pound is a total waste of time and effort.[...]I know they want it pronounced c sharp

      I'm a music major, you insensitive clod!

      Would calling it D-Flat make you feel any better?

      --
      If someone is passing you on the right, you are an asshole for driving in the wrong lane.
    29. Re:c-derived languages? by DaVince21 · · Score: 2, Informative

      (c# is windows specific and c++ has some issues if you are not very careful).

      Depends on if you're writing Mono-compatible code or not, right?

      --
      I am not devoid of humor.
    30. Re:c-derived languages? by maxwell+demon · · Score: 3, Funny

      From the draft of the next C++ standard, n2798, 1.9 [intro.execution]/16:

      If a side effect on a scalar object is unsequenced relative to either another side effect on the same scalar object or a value computation using the value of the same scalar object, the behavior is undefined.

      Since the built-in == operator doesn't have a sequence point between its argument, the side effect of c++ is unsequenced relative to the value computation of c on the left hand side of the ==, and thus the behaviour is undefined.

      Also you find in the latest public draft of the 1998 C++ standard, CD2, 5 [expr]/4:

      Between the previous and
      next sequence point a scalar object shall have its stored value modified at most once by the evaluation of an
      expression. Furthermore, the prior value shall be accessed only to determine the value to be stored.

      Note that in c == c++, on the LHS the prior value of c is accessed not in order to determine the new value, but only to compare it with the result of the right hand side. Therefore it was undefined in C++ even back then. I don't have access to any version (draft or otherwise) of the C standard, but I think it's undefined in C, too (although the exact wording probably is different again).

      --
      The Tao of math: The numbers you can count are not the real numbers.
    31. Re:c-derived languages? by cpghost · · Score: 2, Funny

      COBOL? Anyone? hello?

      Slashdot hates COBOL:

      Filter error: Don't use so many caps. It's like YELLING.

      --
      cpghost at Cordula's Web.
  2. no C++ by shaitand · · Score: 4, Interesting

    I'm surprised C++ didn't make the list.

    1. Re:no C++ by RedWizzard · · Score: 5, Informative

      I'm surprised C++ didn't make the list.

      It didn't make the list because apparently the authors think that C, C++, and C# are all the same language.

    2. Re:no C++ by rite_m · · Score: 2, Insightful

      I'm surprised python didn't make the list.

    3. Re:no C++ by DragonWriter · · Score: 2, Informative

      I'm surprised python didn't make the list.

      It did make the list, at 10%. Its not in the Register article, but it is in the original report from Black Duck Software.

  3. Hrmmm. by inode_buddha · · Score: 5, Funny

    I can C clearly now...

    --
    C|N>K
    1. Re:Hrmmm. by ciaohound · · Score: 5, Funny

      ... the brain is gone.

      --
      Oh, yeah, it's not easy to pad these out to 120 characters.
    2. Re:Hrmmm. by inode_buddha · · Score: 2, Funny

      Oh, say can you C...

      --
      C|N>K
  4. Not surprising by DragonWriter · · Score: 3, Insightful

    The results really aren't surprising: as TFA states, most projects use more than one language. So C coming out on top with Java #2 is hardly unsurprising: many extensions built for scripting languages use either C or the primary language for the VM they target (Java for the JVM) in addition to whatever scripting language they are for. And JavaScript being tops among scripting languages also isn't surprising; PHP and Ruby may be popular for web applications, but most PHP and Ruby web apps (and web app frameworks) rely on the use of JavaScript on the client side, and so will often also include JavaScript.

  5. Just because PHP is popular by BitHive · · Score: 2, Insightful

    Does not mean it is suitable for large-scale development projects. People who have done projects in better languages understand this, and I fully expect to be flamed by people who need PHP to get anything done.

    1. Re:Just because PHP is popular by shaitand · · Score: 3, Insightful

      PHP has been applied to many large scale development projects, demonstrating that you are incorrect. Don't misconstrue your own preference for one language over another to mean that a language is inferior or unsuitable.

    2. Re:Just because PHP is popular by DragonWriter · · Score: 4, Insightful

      PHP has been applied to many large scale development projects, demonstrating that you are incorrect.

      Well, no.

      "X has been used for Y" does not demonstrate that "X is suitable for Y".

    3. Re:Just because PHP is popular by BitHive · · Score: 2, Insightful

      Two of the slowest sites on the internet whose infrastructure needs are embarrassingly huge for the service they provide.

    4. Re:Just because PHP is popular by bnenning · · Score: 3, Insightful

      How can you build anything large-scale in a language too dynamic for proper static verification?

      Sometimes large-scale projects in static languages can be small-scale in dynamic. For example look at the ridiculous amount of resources devoted to dependency injection frameworks in Java, where in Python or Ruby those capabilities are essentially built in.

      --
      How to solve most of our problems: 1.Lots of nuclear plants. 2.Cure aging.
    5. Re:Just because PHP is popular by shaitand · · Score: 4, Insightful

      'But at the same time, show me a large scale project done in PHP, and I'll show you a large scale project that would have been better off in Python.'

      With all do respect, I find that most worshipers at the altar of python feel the same way about anything that doesn't require C for the sake of performance.

      I realize you guys feel that code should LOOK pretty. But not everyone agrees that you need the language to mandate style and FUNCTIONALLY python is no more capable than Perl (example intentionally chosen to make pythonites cring). For most web projects, php is as capable as either.

      Besides, he claimed PHP was unsuitable for large projects not merely that there were better choices. PHP is suitable and demonstrably so. There are languages that aren't, like VB. There are no large projects primarily written in VB for this reason despite the fact that vb was extremely popular.

    6. Re:Just because PHP is popular by KermodeBear · · Score: 4, Interesting

      For the services that they provide...

      Wikipedia now has 200 application servers, 20 database servers and 70 servers dedicated to Squid cache servers. Reference

      I'd say that it is quite remarkable.

      --
      Love sees no species.
    7. Re:Just because PHP is popular by merreborn · · Score: 4, Insightful

      PHP has been applied to many large scale development projects, demonstrating that you are incorrect.

      Well, no.

      "X has been used for Y" does not demonstrate that "X is suitable for Y".

      Three of the world's top 10 websites are PHP-based. Wikipedia, and facebook, along with vast chunks of yahoo.

      I'm gonna go ahead and argue that "X has been successfully used for Y by 3 of the top 10 organizations in the Y industry" is pretty solid evidence that "X is fairly suitable for Y". In fact, I think you'd be hard pressed to demonstrate that "X is unsuitable for Y", given the level of success these sites continue to achieve.

      WP, Facebook, and Yahoo all have their business problems, but PHP is the least of them.

    8. Re:Just because PHP is popular by Anthony_Cargile · · Score: 3, Funny

      My last brainfuck website failed because the bf compiler got confused between language operators and XHTML tags, and my client refused to pay the $10,000 brainfuck developer fee anyways. Now I just write them in x86 assembly and my development time is much-improved - I finished a 10 page site in under half a decade!

    9. Re:Just because PHP is popular by piojo · · Score: 2, Interesting

      Truth is, static verification is generally overrated... This topic is hotly debated, but for me the proof is in getting the job done effectively and quickly.

      Yes, err... I just spent a month converting a bunch of qt3 python apps to qt4. If it were in c++, there are a bunch of errors that I could have seen at compile time. I think it would have saved me a lot of time, and right now, I would be more sure that those apps worked (there is only so much testing I could do, never having used these programs). In my opinion, static verification, if anything, in underrated.

      --
      A cat can't teach a dog to bark.
    10. Re:Just because PHP is popular by xorsyst · · Score: 2, Insightful

      It's perfectly possible to use Perl for large projects, providing you have strict style guidelines for enterprise use and a good object model for scalability. If you just let a large bunch of people hack it together in their own style then it will not work, but that doesn't make it unsuitable.

      --
      Get free bitcoins: http://freebitco.in
    11. Re:Just because PHP is popular by tacocat · · Score: 3, Informative

      I think there is something to take from the Perl Best Practices when considering the viability of different languages. In this book they stress over and over the need to have maintainable code. Over the years I have had to go back and manage a large number of my applications and have found that the technical cost to any of these has more to do with the documentation and quality of the code above everything else. I have been (trying) to use Ruby and Javascript in addition to my long familiar Perl languages for some projects and have come to some conclusions based on these three.

      Perl has a long history. Which translates to a lot of smart people using it and a fantastic amount of both well documented modules and well established modules that work well and readily. So there are four advantages here: documentation that is complete, documentation is accurate, modules are completely functional, testing/execution is easy.

      Javascript is a bit of a fluster-cluck in comparison to this. Documentation is mixed. But there are a lot of really great quality modules with some really great sets of documentation out there. And some gross exeptions. But everyone has their black sheep. What javascript doesn't have is the ability to easy execute/test the code from a command line environment. It's got too much dependency on that ugly browser which can make execution and debugging rather difficult. IMHO javascript needs a rewrite to address it's shortcomings but it's still impressive in accomplishments.

      Which turns my attention to Ruby. Lovely language, pretty, elegant, nice to work with. If you know what you are doing. There is effectively little to zero documentation on just about everything. Core modules, when you call up the 'ri' or 'rdoc' returns an emply documentation file. Nice job making it impossible to understand what's going on. There is peepcode, but with $9 a whack at documentation it's pretty easy for a project to get very expensive just trying to see what might be the best module. This is nice for one level of capitalism, but bad for the rest. Ruby has done an extremely bad job on documentation. Fortunately, they have done a very good job with test and execution so it's easier than javascript to work with in that regard. You just don't know what you are doing when you start.

      If you don't believe me about Ruby try 'ri Rspec'. It returns an empty file letting you know there is nothing done to document the use of this module. I can find hundreds but this is just an example.

      If Ruby was able to provide a level of documentation and functional modules that Perl can demonstrate there would not be much to slight Ruby for. This is a major barrier to adopting languages: documentation, testability, execution/debugging

    12. Re:Just because PHP is popular by pjt33 · · Score: 2, Informative

      Dynamic typing may allow you to write code fast, but "the job" is more than just initial development. Static typing is appropriate for projects which you expect to have to maintain.

    13. Re:Just because PHP is popular by maxwell+demon · · Score: 2, Insightful

      Of course you can write Facebook in ASM. It's just a lot of work (and you'll be bound to the platform you've chosen forever).

      --
      The Tao of math: The numbers you can count are not the real numbers.
    14. Re:Just because PHP is popular by shish · · Score: 2, Insightful

      But Erlang and Perl?

      Perl I'm not sure about, but erlang was created *specifically* to run the world's telephone networks, and you don't get much more large scale than that :-P

      --
      I mod down anyone who says "I will be modded down for this", regardless of the rest of their comment
    15. Re:Just because PHP is popular by shish · · Score: 2, Interesting

      Wikipedia uses php and is one of the fastest sites on the web despite staggering demand

      Note that 99% of wikipedia traffic is handled by the front-end caching proxies, which were put in place because PHP couldn't handle the load on its own. I'm not saying that any other language could perform better, just that it's useless to use wikipedia as proof of PHP's speed when all the speed comes from *avoiding* PHP :-P

      --
      I mod down anyone who says "I will be modded down for this", regardless of the rest of their comment
  6. Black Duck Software? by ChienAndalu · · Score: 4, Informative

    Seriously, who ever heard of that company? Anyway, here is their actual press release, including a bogus list with 10 random apps I never heard of.

    And by the way, Python got 10%.

    1. Re:Black Duck Software? by adamkennedy · · Score: 3, Informative

      > Seriously, who ever heard of that company?

      They're the guys that do the Koders.com code search engine.

    2. Re:Black Duck Software? by jonaskoelker · · Score: 5, Insightful

      Anyway, here is their actual press release

      Thanks for that.

      Let's compare "here" with the summary. "Here":

      47% of these newly created projects used the C language. Java came in as the number two language of choice at nearly 28%. Third was Javascript at over 20%. In the world of scripting, nearly 18% of the projects chose to use Perl

      Summary:

      47 per cent â" of new projects last year used C. [...] Next in popularity after C came Java, with 28 per cent. In scripting, JavaScript came out on top with 20 per cent, followed by Perl with 18 per cent.

      I note that 47+28+20+18 > 100, so somewhere there's a move from one "percentage pie" to the next. I would like to know which language is in which pie, and more importantly why, and why there aren't numbers for one big pie with everyone in it. I'd also like to know why the summary (which is taken from the register) and the "here" seem to be ambiguous, when read together, about which pie javascript goes into.

      I don't think malice is a good explanation for all of this, so I'll assume incompetence. That goes well with the 98%-of-everything-is-crap law ;)

    3. Re:Black Duck Software? by talexb · · Score: 4, Informative

      From TFA: "Note, most projects used more than one language and these results are based on the number of projects using a given language, not the number of lines of code created."

      There, I fixed that for you. :)

  7. H1B Anthem by Penguinshit · · Score: 3, Funny

    Jose can you C? Then you've got a job at HP!

  8. C(++) is here to stay! by CuteSteveJobs · · Score: 3, Insightful

    Our company's flagship product was written 15 years ago. When we did it, we had to choose a language. Nearly considered Pascal and all the other flavors of the month. C has its shortcomings for sure, but all these years later we're still here, it's still well supported and plenty of people know how to write it. Improvements like recompile-while-running, modern debuggers and error trapping have made it a much more productive environment.

    Yes. It certainly has its flaws, but I don't think we could have made a better choice. If I had to pick another language to still be active in another 15 years, that would be it.

  9. Python redacted? Rubymandering! by Anonymous Coward · · Score: 2, Interesting

    The linked article was based on a post from the Black Duck news release that outlines language popularity briefly. From the real source, "..Python at nearly 10% and Ruby at 6%," was replaced with simply "and Ruby six per cent."

    Why? Out of all the languages mentioned, why remove only the pen-ultimate?

  10. C development? by Anonymous Coward · · Score: 2, Interesting
    "C Dominated New '08 Open-Source Projects "

    .

    Also headlined: "C developers lost more jobs in 2008. Java, Ruby, Python, and C# hired more people (and payed higher) in 2008. Twice as many applications roll out for 2008 vs. 2007"

    .

    .

    In other news: "PHP development held flat."

    .

    Ouch?

  11. The numbers don't add up right in my mind by jonaskoelker · · Score: 2, Informative

    [!scripting: C=47, java=28]

    Note that 47+28 = 75, so that leaves 25%. Is C++ really that small? And let's just conveniently forget about C#, Objective C, and the odd app here or there written in lisp/scheme, an ML-like language (SML, ocaml, haskell), ada, pascal, eiffel, fortran, ...

    (I assume there isn't a moronic failure to distinguish between C, C++, C--, C# and Csh)

    Even more surprising:

    [Scripting: js=20, pl=18, php=11, rb=6]

    That's 20+18+11+6 = 55 (percent), leaving 45 percent to be fought over by languages not attracting more than 6% of the projects. That takes at least eight languages.

    This means we have twelve scripting languages in (reasonably) widespread use. Which eight (or more) remain?

    I'm guessing python, bash and lua, but then I'm sorta' blank. I can guess at elisp, guile, QuakeC and the fragment shader language, but I'm kinda' skeptical. Anyone care to guess?

    1. Re:The numbers don't add up right in my mind by Peristarkawan · · Score: 2

      There's some overlap caused by projects that use multiple languages. I wouldn't expect either set of numbers to add up to 100%.

  12. how stupid by Lord+Ender · · Score: 3, Insightful

    What the hell does "scripting" even mean? Perl and Ruby are the same class of language as C. Javascript is an entirely different beast. Whoever categorized Ruby and Javascript together must be completely ignorant of programming.

    --
    A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
    1. Re:how stupid by kc8apf · · Score: 3, Insightful

      Yes because a compiled, statically-typed, procedural language (C) has everything in common with an interpreted, dynamically-typed, object-oriented language.

      --
      kc8apf
    2. Re:how stupid by TheDugong · · Score: 2, Insightful

      Come back to me when you have written an OS Kernel in Ruby and Perl and then I might agree with your second sentance.

    3. Re:how stupid by shaitand · · Score: 2, Informative

      'What the hell does "scripting" even mean?'

      That the language uses an interpreter rather than a compiler. This is less of an issue with the ridiculously fast processors but interpreted languages are slower than compiled languages and don't result in a stand-alone executable. For a long time many didn't even considered scripting to be real programming.

      'Perl and Ruby are the same class of language as C.'

      Not even remotely. While you can use Perl and Ruby for many applications, they are not suitable for systems programming. For that you need a compiled language (and I'm not talking about Javaism but actual native code compilation) like C, C++, and Pascal. There are hacks to compile scripting languages but they aren't fully functional and really aren't worthy of more than a footnote for the sake of the pedants.

      'Whoever categorized Ruby and Javascript together must be completely ignorant of programming.'

      Why? Because the JavaScript interpreter is usually built into web-browsers? They are both interpreted languages.

    4. Re:how stupid by chromatic · · Score: 2, Insightful

      A perl/python/ruby/whatever-you-learned-while-NOT-getting-a-cs program has no concept of memory management.

      What if I learned Scheme and Haskell?

    5. Re:how stupid by MyIS · · Score: 2, Insightful

      I think that the parent was referring to the fact that:
      * C, Perl and Ruby are mostly used to write standalone utilities and apps
      * Javascript is used to script the high-level functionality of a browser (albeit to produce more apps too, sometimes)

      So it's not about compiled vs interpreted, or memory management models. It's about actual practical usage scenarios. And lumping Ruby and Javascript is indeed silly in that sense.

      --
      http://zero-to-enterprise.blogspot.com/
    6. Re:how stupid by RegularFry · · Score: 2, Insightful

      Why is explicit memory management required for a language to be a "programming" language? What practical difference does it make to have explicit memory management as opposed to implicit, but well-defined, automatic behaviour?

      --
      Reality is the ultimate Rorschach.
  13. Re:Ow... by Anonymous Coward · · Score: 2, Funny

    You use python ?!

    I died a little inside...

    Now I have two reasons to use Python.

  14. Open source != popularity by nsayer · · Score: 2, Insightful

    One thing that PHB types need to be made aware of is that the level of use within open source projects does not necessarily imply usage in general. I would expect PHP to be used less to make open source projects. Rather, I would expect it to be used to build websites, which tend to be heavily customized things that don't need to be replicated across sites the same way that open source software tends to be.

    Obviously there are exceptions for things like Squirrelmail or PHPBB, but they don't invalidate my argument.

    1. Re:Open source != popularity by htnmmo · · Score: 2, Interesting

      PHP?

      Java still dominates PHP in the web application job market. Just do a search in most major job sites.

      http://www.indeed.com/jobtrends?q=java%2C+php%2C+j2ee&l=

  15. Re:C? Here's the problem by bnenning · · Score: 2, Insightful

    In other words, most of them die before they are even borne.

    Quite true, as it is with commercial projects. It's just that you never see those.

    --
    How to solve most of our problems: 1.Lots of nuclear plants. 2.Cure aging.
  16. God wrote in Lisp by argent · · Score: 2, Informative

    Perl and Ruby are the same class of language as C.

    Perl and Ruby are much higher level languages than C. They're no Lisp, but they're nothing like C.

    1. Re:God wrote in Lisp by againjj · · Score: 2, Funny
  17. RTFA by DragonWriter · · Score: 2, Informative

    47 + 28 + 20 + 18 + 11 + 6 = 130

    The percentages are the percentages of projects that used the language.

    TFA notes that most projects used more than one language.

    Ergo, if you add up the percentages of the projects that use each language for every language in the survey (not all are reported in TFA), you will get some number > 150% (since more than half of the projects used at least two languages) and possibly much greater than that.

  18. eval() == interpreted language by tepples · · Score: 2, Informative

    Being "interpreted" is not a property of the language

    If a language has its translation mechanism easily available to the program, then the language itself is designed to be interpreted (or at least bytecode-compiled). ECMAScript and the three P's all have this, and it's called eval() in all four.

    merely of some implementation of the language.

    Under that definition, a "scripting" language is one whose dominant implementations are all interpreters.

  19. An alternative list by sien · · Score: 4, Interesting

    Tiobe maintains a list that is updated every month that tells a different story.

    For January 2009, rounded; Java, 19%; C, 16%; C++, 10%; VB, 9%; PHP, 10%.

  20. C dominates new open source projects... by Lars512 · · Score: 4, Funny

    ...as measured by lines of code

    (ducks)

  21. No, they didn't. by Anonymous Coward · · Score: 3, Informative

    Actually, I think these guys know what they're talking about. It's just the Slashdotted, watered down version which makes them look as if they don't.

    1. Re:No, they didn't. by mfnickster · · Score: 2, Informative

      Take another look. On this page they say:

      "Over 90% of open source code is written in the major languages: C, C++, Java, Javascript and C#"

      And on this page they say:

      "47% of these newly created projects used the C language. Java came in as the number two language of choice at nearly 28%. Third was Javascript at over 20%."

      ...which adds up to 95%, so unless there's some seriously bad math here, they included C++ and C# in that 47% which they refer to as "the C language."

      --
      "Slow down, Cowboy! It has been 3 years, 7 months and 26 days since you last successfully posted a comment."
  22. The spectrum of "C" and it's ilk vs "scripting" by Anonymous Coward · · Score: 2, Interesting

    A lot of C and C++, moderate Java, lots of perl...

        In C I "believe" I know almost always have a good idea of what's happening at the machine level. How many instructions (up to a constant), how many nanoseconds (ditto). I may be wrong up to small constants (especially taking account of caching effects, parallelism, blah blah) but I don't think I'm radically off much. I also have a good (IMO) feeling for what optimization is doing.
        In C++, I feel the same way but I also think this is more arguable, and more of a nontrivial skill to acquire.

        In perl, I absolutely don't. What's the time
    to evaluate this regex? Yes, I know some of the
    underylying theory and could probably do a decent
    job if I thought hard about it, but the point is I don't. And ditto for other high level constructs
    in perl. And if I start to fret about such things,
    maybe perl is the wrong language for whatever I'm
    doing at the time.

        Java puzzles me. It's a bit opaque in terms
    of quick "what's the metal [/silicon?] doing?" but ultimately manageable if you understand the "interpreter/VM/..." and your own "low level" code. Yet many developers - including developers of core java libraries - clearly are more in the perl mode of obliviousness. So it's a grey area whether Java is overall for someone who has to care about speed/efficiency vs productivity.

    Nevertheless, I think the point is that
    there is a performance vs quick-productivity
    spectrum, and no answer is universally right, but
    it is one reason why the "low level" vs "scripting" continuum actually isn't arbitrary
    or unwelcome.

  23. can algebra ever die? by heroine · · Score: 2, Insightful

    For C to die is like saying algebraic notation is going to die. Suspect if it wasn't for the need to eat, we would all program C & figure out ways to get the same features of our day job languages in C.

  24. Re:Apples and Oranges by weston · · Score: 4, Informative

    Why throw JavaScript in there? The rest are server-side languages, while JavaScript is client-side.

    Two reasons I can think of:

    1) An increasing amount of number of applications are being delivered via the web browser
    2) JavaScript increasingly lives a number of other places besides the browser. See Rhino, JScript.NET, Seed, and probably a few other places I'm not thinking of right now.

  25. 14,000+ new projects? by Pseudonym · · Score: 4, Funny

    What's the bet that most of the 7,000 new open source projects were GNOME bindings for "Hello World"?

    --
    sub f{($f)=@_;print"$f(q{$f});";}f(q{sub f{($f)=@_;print"$f(q{$f});";}f});
  26. Write in C by pauljlucas · · Score: 2, Funny
    (Sing as if you were singing "Let it Be".)

    When I find my code in tons of trouble,
    Friends and colleagues come to me,
    Speaking words of wisdom:
    Write in C.

    As the deadline fast approaches,
    And bugs are all that I can see,
    Somewhere, someone whispers:
    Write in C.

    Write in C, write in C,
    Write in C, oh, write in C.
    LOGO's dead and buried,
    Write in C.

    I used to write a lot of FORTRAN,
    For science it worked flawlessly.
    Try using it for graphics!
    Write in C.

    If you've just spent nearly 30 hours,
    Debugging some assembly,
    Soon you will be glad to
    Write in C.

    Write in C, Write in C,
    Write in C, yeah, Write in C.
    BASIC's not the answer.
    Write in C.

    Write in C, Write in C
    Write in C, oh, Write in C.
    Pascal won't quite cut it.
    Write in C.

    --
    If you reply, do so only to what I explicitly wrote. If I didn't write it, don't assume or infer it.