On 12 Aug 2010 06:35:34 -0700, [email protected] (McKown,
John) wrote:

>So the programmers don't even need to understand machine architecture any 
>more. 
>Unfortunately, this leads them to write poorly performing code due to a total 
>lack of 
>understanding of even basic knowledge of "how it really works". In some C 
>code, 
>I have actually seen for loops moving data from one char * to another char *, 
>instead of using strncpy(). Or doing it with subscripts instead of pointers! 
>"for (i=0;src[i];i++) {dst[i]=src[i];}"

Are there optimizers for library languages such as C?    Or isn't that
considered important anymore?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to