News for hackers. Stuff that matters.
Re:The "C is Efficient" Language Fallacy by barrkel on Monday May 04, 2009 @06:28PM (#593217)
For me, this argument in favour of C is really missing the point. In the long run, maintenance costs dominate, and unsafe languages like C lead to programs that take more and more programmer time to maintain, and it becomes harder and harder to see the high-level structure and optimize that through refactoring, rather than the low-level bottlenecks that show up in profilers.
Re:The "C is Efficient" Language Fallacy by lacker on Monday May 04, 2009 @09:27PM (#593413)
Maintenance costs do not always dominate. If you are working on code that will run on many thousands of machines, then hardware and running-the-cluster costs dominate. Performance improvements that are small in terms of % can still be worth many programmer-months of effort, and it becomes optimal to use C or C++.
Re:The "C is Efficient" Language Fallacy by barrkel on Tuesday May 05, 2009 @02:53PM (#594534)
Of course it depends. If your code is going to last for 20+ years, though (like the code I work on), I can guarantee you that it becomes very difficult to see the forest for the trees.