Array indexing vs. pointers...

Herman Rubin cik at l.cc.purdue.edu
Fri Sep 30 21:50:28 AEST 1988


In article <836 at proxftl.UUCP>, bill at proxftl.UUCP (T. William Wells) writes:
> In article <607 at ardent.UUCP> mec at ardent.UUCP (Michael Chastain) writes:
> : Good grief.  Say NO to low-level performance tweaking.
> 
> Good grief.  Say NO to understanding the language well enough
> that "low-level performance tweaking" is natural to the
> programmer.  Grrr.  Note that the quotes here are because I
> disagree that the programming practices being condemned
> constitute "low-level performance tweaking".

<	Good grief.  Say NO to understanding the MACHINE well enough
	that "low-level performance tweaking" is natural to the
	programmer.  Grrr.  Note that the quotes here are because I
	disagree that the programming practices being condemned
	constitute "low-level performance tweaking".                       >

I frequently have less difficulty thinking in terms of the machine structure
than the arbitrary obfuscated language constructs.  The gains are frequently
greater at this level.  If one thinks this way, it is not at all difficult to
find situations in which factors of 10 arise.

If I have so little difficulty in understanding machine operations for many
different machines, why should it be considered so overwhelmingly difficult
for others to be able to read and maintain code written with those
considerations in mind?
-- 
Herman Rubin, Dept. of Statistics, Purdue Univ., West Lafayette IN47907
Phone: (317)494-6054
hrubin at l.cc.purdue.edu (Internet, bitnet, UUCP)



More information about the Comp.lang.c mailing list