>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,
VFP kills those languages (Python, Ruby, and especially PHP) on Windows. Maybe not so much on Linux.