Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP versus C++
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00842594
Message ID:
00842883
Views:
26
>Hi Peter,
>
>>The big question now is: Will C++ or Delphi do this job significantly faster??
>
>Yes. C++ is way much faster with string handling than VFP. As I just prepare a session about writing FLLs I've finished a sample a couple of days ago that reverses a string. With 5 bytes, the C++ routine is a whopping 2% faster <g>, but when dealing with 50 KB strings, C++ was over 40000% faster. That is, a FoxPro routine that runs for 7 hours would finish in a minute in C++ code.
>
>The real question, though, is: Is your VFP code too slow and is it worth to rewrite part of or the entire application.


Christof,

Could you send me the vfp routine and the time you expect? I also have c++ (visual studio 5), so maybe you could also send the c++ routine.

You also mention FLL. This is a way to implement C/C++ routines. But can it also be used to create a faster, let's say, LEFT() or FGETS() ?

Maybe I should come to your session.
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform