Interesting 9 Lang. comparison, how would PB do?

Everything else that doesn't fall into one of the other PB categories.
koehler
User
User
Posts: 58
Joined: Sat May 03, 2003 7:46 am

Interesting 9 Lang. comparison, how would PB do?

Post 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....
User avatar
Danilo
Addict
Addict
Posts: 3036
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Post 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." :lol:

The guy should add results for the INTEL C/C++ Compiler, its the
best optimizer for Intel x86 CPUs (he tested on P-IV).
cya,
...Danilo
...:-=< http://codedan.net/work >=-:...
-= FaceBook.com/DaniloKrahn =-
koehler
User
User
Posts: 58
Joined: Sat May 03, 2003 7:46 am

Post 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." :lol:
Agreed, sigh..found this one too:

http://dada.perl.it/shootout/
Dreglor
Enthusiast
Enthusiast
Posts: 759
Joined: Sat Aug 02, 2003 11:22 pm
Location: OR, USA

Post by Dreglor »

i noticed python being outstanding in math and overall i wonder what makes it so diffrent...
~Dreglor
techjunkie
Addict
Addict
Posts: 1126
Joined: Wed Oct 15, 2003 12:40 am
Location: Sweden
Contact:

Post 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...
Image
(\__/)
(='.'=) This is Bunny. Copy and paste Bunny into your
(")_(") signature to help him gain world domination.
Post Reply