David de Argentina:
That was a good
academic exercise ... but here are some considerations when selecting a "the right tool for the job" (copyright HPW
) ...
1) the
Loop/EndLoop (and similar
While/EndWhile) code blocks are the the only instances where I have found a noticeable (run time) response that is wanting in NeoBook ... and only with a significant number of iterations.
2) perhaps you can do a similar test ... only, instead of a
math "[x]*[y]" "-1" "[x]" command inside the loop, do something that
reads/writes files ... the differences should be less pronounced.
3) since most applications do not require perforing
Prime Number or
Factorial type calculations, the choice of "right tool" should include other considerations ... for me ...
- Rapid Application Development
- Ease of Development (and fun)
- Product with miniscule number of defects
- Prompt response from Dave when problems are encountered
- Ability to have direct input to future enhancements
... all trump the one or two instances where other tools out perform NeoBook.
Comparing PowerBasic and Delphi ... 100 million iterations in 200 milliseconds vs. 800 milliseconds ... proves the point that for 99.999% of Desktop Applications, speed of execution is no longer an issue/consideration ... even Intel stopped pouring money into faster processors ... and focused on multi-core architectures instead.
Its like comparing 2 sports cars ... one can travel at 300 km/hour and another at 600 km/hour ... but if you use your car to travel within a large city (maximum speed 100 km/hour), all you get with a faster rated car is "bragging rights" ... I would rather have a less expensive car that is safe, comfortable and reliable.