I disagree, and I know C quite well. Once upon a time, the performance of C constructs was relatively predictable. Nowadays, the impact of caching, instruction pipelining, and modern optimizing compilers is such that most C programmers really have no idea. For most programmers, a better use of time would be to read about modern architectures (I highly recommend Ulrich Drepper's "What every programmer should know about memory" and the Hennessy/Paterson books) and measure the relative expense of constructs in their preferred programming language.
There are a few legitimate reasons to learn C, the most important being to write programs with little supporting infrastructure (embedded, operating systems, language runtimes) and to interface with other C programs. Pointers is /not/ one of these, since most languages have references, which are pointers without the arithmetic. Understanding the difference between a deep copy and a shallow copy does not require learning C.
Performance has everything to do with it. If you understand how the machine works then you also understand how to write fast code. C is low level but doesn't teach you everything about the inner workings of the machine.
0
u/[deleted] May 23 '08
[deleted]