PureBasic for Blitz programmer

Just starting out? Need help? Post your questions and find answers here.
User avatar
Inner
PureBasic Expert
PureBasic Expert
Posts: 714
Joined: Fri Apr 25, 2003 4:47 pm
Location: New Zealand

Post by Inner »

be thankful that you don't have to use C/C++ to code windows apps, it's a nightmare!
LJ
Enthusiast
Enthusiast
Posts: 177
Joined: Wed Apr 30, 2003 4:00 pm

Post by LJ »

I have programmed in Blitz3D, Blitz +, and now PureBasic.

For me, it all boils down to 2 things, size and speed.

For writing Windows utility, a file about 700K in Blitz+ was 15K in Purebasic. That's beyond just being huge, that's the difference between bloat ware and a beautiful efficient piece of code that only assembly language programmers could write, at least until PureBasic. A current project I'm working on, the code is so small, that I'll probably get admirers e-mailing me and asking how I got the .exe to be small and yet the program does so much.

PureBasic is more work to learn than Blitz+, but 700K .exe versus 15K is your reward should you accept the challenge, and, to me, it is a challenge worth excepting indeed. Best of luck.
robleong
User
User
Posts: 38
Joined: Mon May 19, 2003 10:20 pm
Location: San Francisco bay area, California, USA
Contact:

Post by robleong »

Thanks, LJ - good enough reason, and well illustrated!
RedRebel
New User
New User
Posts: 9
Joined: Fri May 30, 2003 2:33 am
Location: Southern Illinois USA

Blitz vs PB

Post by RedRebel »

I'll sell you my registered version of blitz for $20.00
Email starsoft@g-netfree.com
It took 73 years to make me this stupid!
____________________________________


Athalon XP2200, Soltek Sln75 Mobo 512 DDR
User avatar
Inner
PureBasic Expert
PureBasic Expert
Posts: 714
Joined: Fri Apr 25, 2003 4:47 pm
Location: New Zealand

Post by Inner »

Funny you should bring size into the matter, 700kb even UPX'ed about 250/300kb is still way to much for "hello world" under a application development stand point, Mark himself is/was rumored to have said that now in hynsight he should have done something about the executable size, this is supposed to be address with BlitzMax however. for a game 700kb is okay ' I suppose! '.
Revolver
User
User
Posts: 22
Joined: Tue Apr 29, 2003 9:20 pm

Post by Revolver »

I am a registered owner of Blitz2D, and praised it religiously for about a year, until I really got comfortable with what PB could do. It took me a while to get used to the quirks (the object pre-numbering was new to me, but I hear its going to be optional soon), and when I first got my copy I was very frustrated because of the lack of guides for total newbies. It seems though that several websites have newbie guides and examples, and of course the great community was there to help me and will be there to help you too. Just recently I've started discovering the power behind PureBasic's sprite commands, compared to BlitzBasic's. I'm going to be writing a 2D online multiplayer action game using PB, and will write the server software, chat/matchmaking client, and map editor all in PureBasic. It can handle all of these things great! Small exe size(even smaller if you UPX it), inline asm, advanced data structures, speed(my tests show its about 2X faster at simple calculations than Blitz), built in fast alpha blending sprite commands(something Blitz users have been begging for for years), incredibly easy use of the Windows API, all of these things are great and make PureBasic definitely worth your while.
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Blitz for Games, PB for Applications

Post by Karbon »

I like Blitz for games but B+ is no where near PB's functionality for writing apps. It was a little hard getting used to some of the PB stuff but the transition (for applications) was pretty easy. Good luck!
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
robleong
User
User
Posts: 38
Joined: Mon May 19, 2003 10:20 pm
Location: San Francisco bay area, California, USA
Contact:

Post by robleong »

Thanks guys for the additional comments! Certainly very persuasive reasons for buying PB.
robleong
User
User
Posts: 38
Joined: Mon May 19, 2003 10:20 pm
Location: San Francisco bay area, California, USA
Contact:

Post by robleong »

OK, this is an update. I know this is very belated, but I just wanted to let you all know that I've finally purchased PureBasic, after more than two and a half years of pondering! Well, you know, I've been busy writing games using Blitz...

Thanks to Steve Elliott for that final persuasive kick! ;)

So, more newbie questions coming soon...
Steve Elliott
Enthusiast
Enthusiast
Posts: 109
Joined: Sun Jan 01, 2006 9:34 pm
Location: Wales, UK

Post by Steve Elliott »

Better late than never Rob. :wink:

I've been using it for just over a week, have learnt so much and written my first PureBASIC program - great language. Still waiting on that nice alpha PNG support though to spruce it up.

And I still can't believe how small the exe files are. :D
LuCiFeR[SD]
666
666
Posts: 1033
Joined: Mon Sep 01, 2003 2:33 pm

Post by LuCiFeR[SD] »

My favorite thing that PB has over any flavour of blitz is in-line asm. Asm has always been a huge love of mine (although I hate x86 asm... but it is usable) it is nice to be able to bash the hardware if you need to.

file-size means nothing in this day and age and I don't personally see that as a selling point for PB... What i do see as a selling point is the way Fred breaks his balls to fix pretty much any problem people find with pb, or if he doesn't have time to fix it, Fred or one of the members of this community step in and provide a work around. It is the way that Fred and the community communicate with each other and come up with a short/long-term solution to get the job done! there's my 2c worth :)
stevev4v
User
User
Posts: 18
Joined: Fri Jan 06, 2006 7:50 pm
Location: United States

Post by stevev4v »

I've used Blitz and Blitz3D since day one and Purebasic now for a couple of weeks. On the plus side, Purebasic syntax is very similar to Blitz and that is good. Also on the plus side, you can create real applications with Purebasic which as you know is not something Blitz does well at all. On the downside, Purebasic is very much lacking in the 3D department even compared to Blitz3D's antiquated features. BlitzPlus is there but you lose 3D capabilities where at least you get some 3D capabilities with Purebasic. Purebasic is not at the point where I will stop using Blitz3D but I am hopefult taht someday Purebasic's 3D will get some attention and I'll have a Basic that "does it all".. right now, it seems no matter what you try you end up having to make some compromise between application and game programming. I own DarkBasic Pro, IBasic, Blitz3D, and Purebasic and none of these are an end-all-be-all programming language although I hope Purebasic ends up being the one that is.
AMD Athlon64 X2 4200+, eVGA GeForce 7950GT KO, 1GB PC3700, Creative X-Fi. 200GB SATA Striped RAID.
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

stevev4v wrote:I've used Blitz and Blitz3D since day one and Purebasic now for a couple of weeks. On the plus side, Purebasic syntax is very similar to Blitz and that is good. Also on the plus side, you can create real applications with Purebasic which as you know is not something Blitz does well at all. On the downside, Purebasic is very much lacking in the 3D department even compared to Blitz3D's antiquated features. BlitzPlus is there but you lose 3D capabilities where at least you get some 3D capabilities with Purebasic. Purebasic is not at the point where I will stop using Blitz3D but I am hopefult taht someday Purebasic's 3D will get some attention and I'll have a Basic that "does it all".. right now, it seems no matter what you try you end up having to make some compromise between application and game programming. I own DarkBasic Pro, IBasic, Blitz3D, and Purebasic and none of these are an end-all-be-all programming language although I hope Purebasic ends up being the one that is.
Purebasic v4 is here very soon! :wink:
--Kale

Image
stevev4v
User
User
Posts: 18
Joined: Fri Jan 06, 2006 7:50 pm
Location: United States

Post by stevev4v »

Kale wrote: Purebasic v4 is here very soon! :wink:
version 4 :shock: .. well, it's hard to get too excited about something I don't know anything about so do you have any details? :wink:

Also, on a side note... Purebasic does seem to be vigorously supported and Blitz3D.. well, if you have been using it then you know the story there.
AMD Athlon64 X2 4200+, eVGA GeForce 7950GT KO, 1GB PC3700, Creative X-Fi. 200GB SATA Striped RAID.
robleong
User
User
Posts: 38
Joined: Mon May 19, 2003 10:20 pm
Location: San Francisco bay area, California, USA
Contact:

Post by robleong »

Thanks for your comments, guys. For now, I'm going to continue writing games in Blitz, but begin learning PureBasic to write some apps/utilities. I look forward to v4.0! ;)
Post Reply