Can I reduce mode switching by using a particular compiler?
No. The compilers all have virtually the same performance, with regard to real-protected mode switches. The C/C++ run-time libraries are very similar in their implementation — they have to be to maintain compatability. The biggest thing you can do from a compiler point of view to reduce mode switches is to use buffered file I/O and to make the buffer sizes large.