Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP vs Other languages (Python/Ruby)
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
VFP vs Other languages (Python/Ruby)
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01511347
Message ID:
01511347
Views:
267
Hi All,

Not really a Fox question specifically but thought someone here might have an idea on this.

I am wondering just how code execution speed of VFP compares to other languages such as Python and Ruby? Take for example the following 10million times loop:
nStart = SECONDS()
a = 0
b = RAND()
FOR x = 1 TO 10000000
	a = a + b
NEXT
nStop = SECONDS()
? nStop-nStart, X, a
This runs on my machine in VFP in 2.4secs. Any idea how fast it would run in either of the alternative languages?

Thanks,
Next
Reply
Map
View

Click here to load this message in the networking platform