Efficient Coding Practices

Richard Harter g-rh at XAIT.Xerox.COM
Sat Oct 8 16:53:03 AEST 1988


In article <222 at sns.UUCP> space at sns.UUCP (Lars Soltau) writes:
>In article <34196 at XAIT.Xerox.COM> g-rh at XAIT.Xerox.COM (Richard Harter) writes:
>>Lesson:  If one is optimizing code one has to think about what the machine
>>will have to do in different implementations when comparing them.

>Lesson: never optimize C code if you have not written the compiler yourself,
>it's far easier and safer to optimize the assembler code.

If only life were so simple.  If you are maintaining programs across a host
of machines and operating systems assembler code is a strong minus.  For many
of us the issue of interest is optimization within the contraints of
portability.
-- 

In the fields of Hell where the grass grows high
Are the graves of dreams allowed to die.
	Richard Harter, SMDS  Inc.



More information about the Comp.lang.c mailing list