Page 2 of 6

Posted: Wed Dec 15, 2004 12:41 pm
by dmoc
BMX doesn't need full blown 3D module from the start. It does have ogl bindings and uses the glew lib for seemless access to ogl extensions. Re modules written in bmx - you have to be confident your compiler creates efficient code to do this and while it's a big plus I'm waiting on benchmarks. Ultimately, for me at least and all else being equal, what will distinguish different offerings is the debugger and response time to fix bugs. My current project started in Euphoria, moved to XBASIC, then to BB3D and then to PB. It will most likely remain PB but I'll be checking out bmx (and .net/mono/c#) and use whatever helps me achieve my goal of a xplatform opengl based product.

Posted: Wed Dec 15, 2004 1:13 pm
by LarsG
After its release, Mark has indicated that the general speed is almost comparable to normal 'C'... (which is very fast indeed).

Posted: Wed Dec 15, 2004 7:00 pm
by Max.²
gnozal wrote:Soon Purebasic Max :lol:
Good name. :wink:

Posted: Wed Dec 15, 2004 8:50 pm
by LuCiFeR[SD]
legider_pb wrote:BlitzMax still has unneccesarily large sized executables according to the information released in the newletter. That is not something I particularly care for myself, and I cannot see what makes BlitzMax so attractive over PB. I am not saying one is greater or one is worse, but I believe PureBasic has alot more promise.
I think you misread what mark said about EXE size... he was saying that B3D had large EXE's, but Bmax doesn't... it only includes what is needed.
So on that score, it is similar to how PB is right now. Bmax could be quite a serious tool as you can create your own modules etc, so there is nothing to stop you using API calls directly or even something different like SDL.. even creating a D3D module would be something a 3rd party could do if they wished.

But, Fred is up to the challenge I am sure... Competition is a GOOD thing for both languages IMHO...I am looking forward to the results from BOTH parties lol

Posted: Wed Dec 15, 2004 10:46 pm
by LarsG
Beer sells... But who's buying?
I am! :lol:

Posted: Wed Dec 15, 2004 11:33 pm
by LuCiFeR[SD]
LarsG wrote: I am! :lol:
Good man... pint of Guinness please :)

Posted: Thu Dec 16, 2004 4:04 am
by Karbon
Wow - disappointing to say the least. But with all the years of hype around BlitzMax I guess it would be impossible to get anywhere close to all of our expectations.

If you are a game developer - great - looks like the rest of us are just left out to dry.. I thought BM (which is a ironic acronym) was going to be more well rounded and not just a game language.

Congrats to Mark, but I don't see BM creeping up on PB's non-game application market.

Posted: Thu Dec 16, 2004 7:45 am
by LarsG
There's a GUI module in the works AFAIK.

Posted: Fri Dec 24, 2004 7:35 pm
by syntax error
For those interested in benchmark results ..

SIEVE OF ERATOSTHENES test - PureBasic Vs BlitzMax (win32 Beta):

Code: Select all

Interations     PureBasic     BMax Beta
       5000     1131 m/sec     477 m/sec
      10000     2344 m/sec     942 m/sec
      15000     3385 m/sec    2869 m/sec
      20000     4476 m/sec    3793 m/sec
      25000     5678 m/sec    4833 m/sec
      30000     6799 m/sec    5690 m/sec
BlitzMax Source:

Code: Select all

' Ported from another Basic for benchmarking purposes...
' Blitz Max version

Strict
Local t,Iter,Count,i,prime,k

Const ITERATIONS = 5000

Local Flags [8191]
Print "SIEVE OF ERATOSTHENES - " + ITERATIONS + " iterations"

t = MilliSecs ()

For Iter = 1 To ITERATIONS

  Count = 0

  For I = 0 To 8190
    Flags[I] = 1
  Next

  For I = 0 To 8190
    If Flags[I]=1 Then
       Prime = I + I
       Prime = Prime + 3
       K = I + Prime
       While K <= 8190
         Flags[K] = 0
         K = K + Prime
       Wend
       Count = Count + 1
    EndIf
  Next

Next

t = MilliSecs () - t

Print (ITERATIONS)+" iterations took "+(t)+" m/secs."
Print "Primes: "+(Count)
End 
PureBasic Source:

Code: Select all

; Ported from another Basic For benchmarking purposes...
; PureBasic version

OpenConsole()

#ITERATIONS=5000

Dim Flags(8191)
Print("SIEVE OF ERATOSTHENES - "+Str(#ITERATIONS)+" iterations")
ConsoleLocate(0,2)

t=GetTickCount_()

For Iter = 1 To #ITERATIONS

  Count = 0

  For I = 0 To 8190
    Flags(I) = 1
  Next

  For I = 0 To 8190
    If Flags(I)=1
       Prime = I + I
       Prime = Prime + 3
       K = I + Prime
       While K <= 8190
         Flags(K) = 0
         K = K + Prime
       Wend
       Count = Count + 1
    EndIf
  Next

Next

t=GetTickCount_()-t
Print(Str(#ITERATIONS)+" iterations took "+Str(t)+" m/secs.")
ConsoleLocate(0,3)
Print("Primes: "+Str(Count))

Delay(3000)
End

Posted: Fri Dec 24, 2004 8:51 pm
by Shannara
????

Ouch, unless there are still some optimizations to be done in the PB code, PB got owned.

Posted: Fri Dec 24, 2004 11:03 pm
by PB
> PB got owned

Was the PureBasic debugger turned off?

Posted: Fri Dec 24, 2004 11:13 pm
by syntax error
Both versions with debugger off.
Ran several times to get an average result.

Posted: Sat Dec 25, 2004 12:17 am
by ricardo
IMHO PureBasic must forget about the Blitz market (games) and go for the PowerBasic/VisualBasic, etc. market.

Posted: Sat Dec 25, 2004 3:51 am
by kwag
Max.² wrote:
gnozal wrote:Soon Purebasic Max :lol:
Good name. :wink:
Purebasic Plus

That sounds better than "Max" :D

-Karl

Posted: Sat Dec 25, 2004 6:02 am
by Shannara
Or Purebasic Pro :D