News for hackers. Stuff that matters.
Re:What's your C migration plan? by tptacek on Thursday October 13, 2011 @07:05PM (#3109178)
This objection is a hyperbolic response to an imprecisely phrased blog post.

The author points out that C is gradually being superseded by languages like Python. The author is right. Every year, less new C is being written, and for good reason.

You point out that there are obviously environments (like your life support valve driver, as Julio Capote says) where C is going to be the most appropriate choice for years to come.

We can be reasonable people and accept that there's truth to both of these sentiments, or we can synthesize a phony controversy in which we compete to defend extremes and get nowhere.

If we're reasonable, I think the author's point is well taken. Less C/C++ is written every year. In part that's due to the web and the increasing power of (what we used to think of as) "embedded" environments. But in part, it's because people who would have reached for C as their go-to language for some cases are (properly) going to stop doing that.

As someone who spends most of his working days looking at other people's projects for flaws like the stuff this guy is alluding to, particularly for Python and Ruby projects --- when you want to find something particularly fun and gruesome, you go straight for the C extensions.

Re:What's your C migration plan? by eaurouge on Friday October 14, 2011 @01:49AM (#3110135)
Going purely on the number of processors that run exclusively on C code, I'd say more new C is being written, and for good reason. I'm referring to the firmware running on the dozens of devices you have in your home, the ones you don't see, don't even know exist.

These devices will only continue to grow, so more C will be written not less. More Python, Ruby etc will be written too, because more software will be written in general. The proliferation of software isn't a zero sum game and probably won't be for a very long time.

Re:What's your C migration plan? by tptacek on Friday October 14, 2011 @11:28AM (#3111533)
I think it's pretty clear that we're talking about the proportion of all software written that will happen to be written in C. If you'd like to talk about something else, that's fine, but it's not what I'm talking about and I'm not interested in the semantic debate.
Re:What's your C migration plan? by eaurouge on Friday October 14, 2011 @07:35PM (#3113406)
You could make the same argument about most languages - programmers have more viable languages to choose from than they did just 10 years ago. But even on this count, C's share of the 'market' is increasing or stable, and not decreasing.

My point is you can't talk about decreasing C usage without acknowledging that a huge chunk, probably a majority, of C code is for embedded applications. That segment is increasing, not decreasing. And C is used on the lion share of embedded apps, possibly upwards of 90%.