I believe that C# has as much potential of being as fast as C and C++ when multi-core development is more widespread and also when the compiler of C# code becomes more developed, given about 15 years. Automatic optimization would be improved in the compiler. It would act on high level code. Take multi-threading for example; a C# developer could create a HD DVD converter program where the compiler automatically parallelizes the code for a multi-core processor.
Automatic optimization will not be perfect. It would be difficult to fix code from high level straight down to the lowest level; however it may do a little optimization at the lowest assemble- instruction-level just like writing good C code.
Though it is possible to optimize C code from the big picture by rewriting the code and taking due considerations of the entire organization, it could be very difficult, I am guessing, so C optimization will lack at a higher level while C# will lack at the lower level. In my opinion, C# performance will definitely improve and take advantage of future hardware, but I would like to see both C# and C being used in one application to give it the maximum optimization possible, especially since C# has a while before its optimization is developed and it may prove too difficult to ever optimize at the low level.
Last edited by crosswire; Apr 26, 2005 at 08:55 PM.
Let's act on what we agree on now, and argue later on what we don't.
Black men leave Barbeque alone if Barbeque don't trouble you