Successful Programming
•When we write programs in C they are ...
–Efficient -- programs run fast, especially if we use performance as a goal
•traverse arrays in row major order to improve caching
–Economical -- use resources well
•represent data by packing memory
–Portable -- run well on any computer with C compiler
•all computers are universal, but with C fast programs are fast everywhere
–Easy to write -- we know many ‘good’ techniques
•reference data, don’t copy
These qualities all derive from von Neumman model