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:
00842787
Views:
30
>>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.

One of the best answers so far.

Also, I'd check who easy is to mantain that code (in general good C++ developers ar harder to find), and how much time does it take.

Following the same logic, an Assembler guy could come after the C++ one and offer a 300% speed improvement. After him, somebody could offer to build a special microprocessor optimized for that task.

The problem is the day they ask any of those guys to make a grid to display the data, to publish a web service interface and add a transaction login, they'll probably quote 10K, 100K and a million (respectively), and 2 months, 6 months, and 2 years (respectively), while you know you can do all this in a day or two, for a couple hundred bucks.

Best regards,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform