Linked by Eugenia Loli on Mon 10th Oct 2005 16:48 UTC, submitted by Shlomi Fish
General Development Shlomi Fish has written a new essay titled "When C is the Best? (Tool for the Job)". Its theme is giving several reasons (besides high speed and low memory consumption) why some code should still be written in C.
Permalink for comment 42720
To read all comments associated with this story, please click here.
freecell solver a good example for C?
by Anonymous on Mon 10th Oct 2005 19:42 UTC
Anonymous
Member since:
---

First he does a decent job listing reasons, why C has still it's place today and I totally agree to the first part of the article although I really don't like C anymore although or rather because I'm maintaining several C/C++ projects, memory errors and long compiletime are really bad for your productivity...

Just what shocked me was that he showed a freecell solver as a good example for C?!? Except speed none of the reasons he listed earlier applied to this project and if you're heavily using the C precompiler, then this is usually a sure sign of premature/too much optimisation or trying to extend the language with new features. Anyway without a java or ocaml version of the solver to compare with his points are pretty pointless. You don't necessarily need preprocessor hacks or pointers for fast programs (at least he would have to prove the contrary)!

Reply Score: 0