Pure speed of Purebasic
Pure speed of Purebasic
Is there any other language besides C++ that is faster or the same speed as purebasic?? Also, is there any other that is as flexible as purebasic??
pentium 90mhz, 32mb ram, 1mb video ram, 1gb hd, windows 95.
If it can run on mine it can run on anything
Staight outta Compton
If it can run on mine it can run on anything
Staight outta Compton
IMHO, PB is the best BASIC language I have ever seen. It's the fastest and definately the most flexible. It's only downside is it's lack of support for games. I wouldn't recommend it for games, use Blitz3D for those. But PB is the best for applications. Executables are small, too. Smaller than Visual C++ at least.
For 2d games, look at this games from B-Games and you'll see that PB is a great language even in 2d
http://perso.wanadoo.fr/darkprograms/downloads.html
http://perso.wanadoo.fr/darkprograms/downloads.html
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
-
- Enthusiast
- Posts: 613
- Joined: Tue May 06, 2003 2:50 pm
- Location: Germany
- Contact:
Also depends on the C++ Compiler used. Beating an open source compiler like MinGW can't be to hard for a skilled programmer.Kale wrote:some speed tests have shown it can be.do you really think purebasic is faster than c++
But speed isn't everything, it's only a part of the whole puzzle - and I like puzzling in PB more than in C++

You can write slow ASM code if you don't know what you are doing. For the most part the speed of any software depends on how you write it more than what you write it in.. PB is very, very fast for sure, but you can probably get comparable speed out of other languages if you try hard enough 

-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
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
This is true. I remember one VB guru demonstrating that the right VB code could be as fast as C.
However, what's really important is a language that gives you performance for free. I like to concentrate on my code and the problem at hand. I don't want to be fretting about optimization.
One language that is lightening fast and very power is OCaml. It's a functional language related to Lisp. http://www.ocaml.org
However, what's really important is a language that gives you performance for free. I like to concentrate on my code and the problem at hand. I don't want to be fretting about optimization.
One language that is lightening fast and very power is OCaml. It's a functional language related to Lisp. http://www.ocaml.org
How is PureBasic bad for games?
You can use DirectX and OpenGL natively, it actually means that you have free reign to create games however you see fit.
The only downside would actually be you don't have a built-in 3D engine to work from, but to be quite honest I think that is an advantage not a disadvantage.
If you want a good challenge to see how true this is, try converting Quake/Quake2 into PB; you'll find it alot easier than making it in DarkBASIC/Blitz3D/PlayBasic
You can use DirectX and OpenGL natively, it actually means that you have free reign to create games however you see fit.
The only downside would actually be you don't have a built-in 3D engine to work from, but to be quite honest I think that is an advantage not a disadvantage.
If you want a good challenge to see how true this is, try converting Quake/Quake2 into PB; you'll find it alot easier than making it in DarkBASIC/Blitz3D/PlayBasic
Yeah I know, but OGRE is very very limited.
It might be a better idea Fred to get in help so he can focus more on PB as a language; he could get an OpenGL and a DirectX guy/gal to work on an engine together.
Try to make it so that the engine commands are identical, allowing the developers to simply put down compiler ifs allowing the APi to be OpenGL if Linux and DirectX if Windows.
but allowing it so that the actual game code doesn't change one iota.
a nice cross-platforming. Just a suggestion though.
It might be a better idea Fred to get in help so he can focus more on PB as a language; he could get an OpenGL and a DirectX guy/gal to work on an engine together.
Try to make it so that the engine commands are identical, allowing the developers to simply put down compiler ifs allowing the APi to be OpenGL if Linux and DirectX if Windows.
but allowing it so that the actual game code doesn't change one iota.
a nice cross-platforming. Just a suggestion though.

Why re-invent the wheel? OGRE is a great 3D engine, just at the minute not all commands are available in PB.he could get an OpenGL and a DirectX guy/gal to work on an engine together.
The commands will be identical for the windows and linux version. The windows version will use directx and the linux one will use opengl.Try to make it so that the engine commands are identical, allowing the developers to simply put down compiler ifs allowing the APi to be OpenGL if Linux and DirectX if Windows.
Fred has also said in an earlier post that the ODE physics library will make its way into PB at some point too.
