BTW: Back to topic...PureBasic is coded in ASM and C (maybe some parts even in C++).
So C/C++ can't be that bad, can it...
How to prove that PureBasic doesn't suck?
:roll:
BTW: Back to topic...PureBasic is coded in ASM and C (maybe some parts even in C++).
So C/C++ can't be that bad, can it...
If you do not know how to properly code, then this will be an issue no matter what language you use. Other than lack of skill, there is no reason somebody couldn't use PB to do whatever size project they wanted.Purebasic just doesn't have the capabilities for a large-medium size project.
WooHoo! Doubles, lets hook the thumbs in the belt loops again and strut around while shouting "I'm using Doubles". Nice to have, but definitely not a stumbling block to using PB for the average PB user.No doubles
No need for a BASIC to ever compete with C++. They are two entirely different languages with different syntaxes and feature sets.There are just certain things that C/C++ have that Pb needs in order to truly compete.
Correct me? So far all you two have done is twist my words and take them out of context.but that doesnt mean we cant correct you!
Dude, that was the point in my original post. C++ gurus tend to claim BASIC is slow and out of date. In our example, PB is not interpreted (most BASIC variants out today aren't), it compiles to machine code just as C++ does. Unless somebody can come up with something faster and better than machine code, the C++ vs. BASIC in speed argument doesn't hold much weight.Its true that some basic languages is interpretted, however the interpretter is machine code [unless the interpretter itself is java or written in an interpretter ]. however in the end its all machine code
Unfortunately, Doubles sometimes come with a sacrifice of speedJust wish: OOP capabilities, doubles and more..
Please re-read my words...Brice Manuel wrote:Correct me? So far all you two have done is twist my words and take them out of context.
ok.. As traumatic said: We just pointed out you were wrong. Traumatic is right, just because a language does compile to ASM it doesnt mean its fast!Correct me? So far all you two have done is twist my words and take them out of context.
This is what FreeBASIC already has:fsw wrote:Please read my lips:
BTW: Back to topic...
How to prove that PureBasic doesn't suck?
:roll:
Once again twisting my words and taking them out of context. No way my intent. As has been said, The standard argument is VC++ is better than "BASIC". So many VC++ newbs forget that we are not dealing with the BASICs of the 80's where BASICs were usually interpreted and quite slow. BASICs today are "compiled" and most compile to machine code.You said PB must be fast as it generates ASM output.
Duh! Nobody said ASM alone makes anything fast. However, we are talking about reality and most of the BASICs out now that compile to machine code are FAR faster than the older variants that are interpreted, p-code, JIT compiled, etc. I am sorry you are unable to see the speed difference between BASIC variants over the years.This is wrong as I can write ASM code that is even slower than the slowest interpreted language on earth. ASM alone isn't a guaranty for speed.
VC++ has a great compiler, but as stated stick a beginner in front of VC++ & PB and the PB will be faster. VC++ is rather daunting for beginners and over the years I have seen many students unintentionally find new innovaties ways to make it crawl because they don't understand the syntax, OOP and how to properly use it. The issues beginners were having with VC++ is why I started using different BASIC varaints that had "easier" to learn syntax and the kids have had a lot more fun and have been more productive.You said, VC++ generates code that is slower than PB's, expect if you're a very experienced coder. This is wrong as well. VC++ is one of the most optimizing compilers out there.
No would I unless we are dealing with beginners. However, as stated before even for experienced coders the speed difference will not really be beneficial unless you are dealing with math intensive programs.Not even Fred would claim that PB is
faster or more optimized than VC's output.
Again "twisting". I said VC++ itself is bloated. Default install for VC++ 6.0 Pro on this system (with SP6) 171MB. Compared to PB? Bloated. Source code itself? VC++ Bloated. Write a simple "retro" game in VC++ and PB and tell me which has less source code? More and more people are switching over to .NET. More and more apps I get require .NET runtimes. I am sorry, but IMHO 20+MB runtimes are a joke. Granted people don't HAVE to use .NET, but the reality is they ARE.You're saying VC++ would generate bloated code or executables
I do not necessarily like PB "more". It is a matter of always using the right tool for the right job. There is a lot I don't like about PB, but every language has its quirks and shortcomings.I just think it's not ok to deny facts merely because you like PB more.
Unfortunately, these are usually the silly arguments you run into with people. Your language sucks because it doesn't have "feature X". This is the "hooking your thumbs in your belt loops and strutting" mentality.> No doubles
So what? Depends if the app needs them. Most apps don't.
> string handling needs work
Unlimited strings would be nice, yes.
> no unsigned variables
Oh come on, this is merely a convenience wish as opposed to something
holding PureBasic back!
I agree and must admit that I don't understand the question!?!?Dare2 wrote:True.dagcrack wrote:either way this is a pointless discussion.
Still funny though.