A
Andrew Au \(Newsgroup\)
Hi all,
I am switching from Java to C solely for performance, but I wonder are
there any coding techniques that can boost performance in C? I am asking
such an open-ended question to elicit response for me such as links and
discussion.
By the way, I am also pretty headache with ArrayIndexOutOfBound
exception, in which C or C++ never warn about anything reading uninitialized
memory, can I make a trap at all memory dereferencing point, so that I can
check if the piece of memory is valid, such as array indexing, or picking
member? Anyway this can be done except instrumenting code by tools such as
Purify?
Andrew
I am switching from Java to C solely for performance, but I wonder are
there any coding techniques that can boost performance in C? I am asking
such an open-ended question to elicit response for me such as links and
discussion.
By the way, I am also pretty headache with ArrayIndexOutOfBound
exception, in which C or C++ never warn about anything reading uninitialized
memory, can I make a trap at all memory dereferencing point, so that I can
check if the piece of memory is valid, such as array indexing, or picking
member? Anyway this can be done except instrumenting code by tools such as
Purify?
Andrew