Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP versus C++
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00842594
Message ID:
00843744
Vues:
22
>Hi Herman,
>
>I was speaking in general terms. Of course I've learned there are exception to every general rule. <g>
>
>Thanks for the information.
>
>Regards,
>
>LelandJ

I don't know, but it seems that it is generally assumed that a C++ 'optimizer' always successfully speeds up code. I really wonder about that. I've also NEVER done C++ code, much less use an optimizer for it.

I could see, for instance, C++ 'basic code' possibly having lots of extra code generated to handle a variety of circumstances and an optimizer (now knowing the exact context of things) simply stripping out extraneous code not relevant to the situation.

In such a case the code would no doubt run faster than the same code not 'optimized', but I think the "magic" of optimization probably doesn't extend to 'internally rewriting the programmer's code to run as fast as possible'.

cheers
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform