Page 1 of 1
Interesting 9 Lang. comparison, how would PB do?
Posted: Sat Jan 10, 2004 5:49 am
by koehler
Very interesting 9 Language performance review. Although not incredibly detailed, VB seems to do rather well. Made me wonder how PB would do.
If a few people got together and were able to re-code some of these tests in PB, might be able to get quite a bit of PR from OSNews....
http://osnews.com/story.php?news_id=5602
Whoops, guess that was VB.net
Still pretty impressive for MS VBasic....
Posted: Sat Jan 10, 2004 6:24 am
by Danilo
- 64-bit integer math
- 64-bit floating point math
- 64-bit floating point trigonometry
You cant do this 3 tests with PB, so only 2 tests are
possible: integer math, I/O functions
Not worth it, IMO.
You could do 64-bit math with inlineASM, but this way
you dont compare the PB compiler but ASM - its the same
if you use inlineASM in C and C++.
Not good PR if you go there and say "Here is the PB code,
but only 2 of 5 tests, because PB cant handle the other 3."
The guy should add results for the INTEL C/C++ Compiler, its the
best optimizer for Intel x86 CPUs (he tested on P-IV).
Posted: Sat Jan 10, 2004 6:41 am
by koehler
Danilo wrote:- 64-bit integer math
Not good PR if you go there and say "Here is the PB code,
but only 2 of 5 tests, because PB cant handle the other 3."
Agreed, sigh..found this one too:
http://dada.perl.it/shootout/
Posted: Sun Jan 11, 2004 3:32 am
by Dreglor
i noticed python being outstanding in math and overall i wonder what makes it so diffrent...
Posted: Mon Jan 12, 2004 12:22 am
by techjunkie
I did run the trig benchmark with PureBasic and it was the same as Visual C++ 3.5 secs... I was just curious... But that was an expected result...