In terms of performance optimisation one of the biggest advantages Fortran has is the lack of pointers and therefore the lack off possible aliases. C/C++ compilers have to employ comlex alias optimisation analysis. Here C++ is significantly better then C. Reference types (instead of pointers), the use of 'const', and inline member functions all help the complier. This is very true in context, but C++ is significantly more difficult to optimize. Reference types, const, and inline member functions certainly have an advantage, but many commercial C compilers inline many common
On Tue, 31 Aug 2004 19:09:32 +0200
Michael Stevens