New topic: 

Im interested in knowing the average speed of RB vs c++

<http://forums.realsoftware.com/viewtopic.php?t=45669>

         Page 1 of 1
   [ 8 posts ]                 Previous topic | Next topic          Author  
Message        Primoz128          Post subject: Im interested in knowing the 
average speed of RB vs c++Posted: Mon Oct 22, 2012 5:51 am                      
   
Joined: Sun Oct 21, 2012 10:47 am
Posts: 9                As you all know c++ is one of the fastest general 
purpose programing languages out there, and cause i am interested in Real Basic 
i would like to know what is Real Basic's AVERAGE speed.
By knowing this i could know more if this language/tool is really suited for my 
intentions.   
                             Top                DaveS          Post subject: 
Re: Im interested in knowing the average speed of RB vs c++Posted: Mon Oct 22, 
2012 8:52 am                                 
Joined: Sun Aug 05, 2007 10:46 am
Posts: 4194
Location: San Diego, CA                That is not a question that really has 
an answer..... as it depends on WHAT functions/features you are comparing.

Overall "C" is faster.... in execution. but RS is faster is developement....

That being said.... most non-graphics programs... the speed difference is 
totally unimportant (notice I said most, not all)... if it takes .0002 seconds 
in "C" and .005 seconds in RS.... you probably won't care.

But even in graphics programs it is possible to create animated graphics that 
exceed 24 frames per second using RS      
_________________
Dave Sisemore
MacPro, OSX Lion 10.7.4 RB2012r1
Note : I am not  interested in any solutions that involve custom Plug-ins of 
any kind  
                             Top                Primoz128          Post 
subject: Re: Im interested in knowing the average speed of RB vs c++Posted: Mon 
Oct 22, 2012 10:08 am                         
Joined: Sun Oct 21, 2012 10:47 am
Posts: 9                I might use Real Basic for far into my life... and im 
gona be doing game development, which i currently am, and gona use RB to extend 
Game Maker tool for game dev. . To extend with a slow language would make the 
overally slow GM because of bad coding from people, and also mostly cause the 
language is written in Delphi even slower and some functionality just wouldn't 
be able to be implemented... That's why...
This makes me to actually stop asking for comparison of Real Basic with c++, 
but rather with Delphi...


IDK a good average comparison would be by choosing 5 to 10 most important parts 
of both languages and get results and compare... 
Can someone do that please ?

Also i incredibly love the fact that Web version uses 1 single language that is 
very portable betwen codes written for Win, Mac, Lin platforms into web, by a 
RAD tool which sounds and must be amazing... but im curious how much the 20 to 
30 times performance boost is actually valid... can i actually make a 2D game 
or 3D web game that is going to beat Flash and HTML 5 in performance ?     

    Last edited by Primoz128 on Mon Oct 22, 2012 10:22 am, edited 1 time in 
total.   
                             Top                DaveS          Post subject: 
Re: Im interested in knowing the average speed of RB vs c++Posted: Mon Oct 22, 
2012 10:22 am                                 
Joined: Sun Aug 05, 2007 10:46 am
Posts: 4194
Location: San Diego, CA                These are questions only YOU can really 
answer....

Anyone can TELL you that C does this better. or RS is close to "C" speed doing 
"that".....  but only YOU know what is important.... So instead of relying on 
others to do specific case tests for you... Why not do it yourself? That way 
YOU know the results, and more importantly how they were arrived at, and how 
well they meet your requirements to make a decision.

I can right a function in C to perform a particular task..  I can write that 
same function in RS.... and I can make the RS one 100x faster than the C 
one..... but poorly writing the "C" version.

So it is how WELL the code is written, as well as the language it is written 
in, and also in the case of "C".... the COMPILER you used....

Remember also RS has a HUGE advantage in that it is CrossPlatform and "C" is 
not  (yes C runs on all platforms... but the code must be significantly 
different in terms of User Interface sections for OSX, Win, or Linux., this is 
NOT a problem with RS)


And YES you can write a 2d/3d game that can most likely beat HTML5 in 
performance.... Flash ....maybe      
_________________
Dave Sisemore
MacPro, OSX Lion 10.7.4 RB2012r1
Note : I am not  interested in any solutions that involve custom Plug-ins of 
any kind  
                             Top                Primoz128          Post 
subject: Re: Im interested in knowing the average speed of RB vs c++Posted: Mon 
Oct 22, 2012 11:18 am                         
Joined: Sun Oct 21, 2012 10:47 am
Posts: 9                Your a devil , aren't you ? Meh noob me doing the 
tests... let's google how to test lala la...   
                             Top                DaveS          Post subject: 
Re: Im interested in knowing the average speed of RB vs c++Posted: Mon Oct 22, 
2012 11:25 am                                 
Joined: Sun Aug 05, 2007 10:46 am
Posts: 4194
Location: San Diego, CA                Remember..... basically you are walking 
into a Ford Dealership and asking...

"Hey who makes a better car?  Ford or Chevy"

If everyone here didn't think using RS had distinct advantages, we wouldn't be 
here... we'd be on a "C" forum.

Is RS better for Everything?  NO...... but then neither is "C"

YOU have to decide what is important.  

Remember this... "Figures don't Lie........  But Liers Figure."



end of conversation.      
_________________
Dave Sisemore
MacPro, OSX Lion 10.7.4 RB2012r1
Note : I am not  interested in any solutions that involve custom Plug-ins of 
any kind  
                             Top                Primoz128          Post 
subject: Re: Im interested in knowing the average speed of RB vs c++Posted: Mon 
Oct 22, 2012 12:31 pm                         
Joined: Sun Oct 21, 2012 10:47 am
Posts: 9                Then it's Real Studio FTW !   
                             Top                spacebuddy          Post 
subject: Re: Im interested in knowing the average speed of RB vs c++Posted: Mon 
Oct 22, 2012 1:07 pm                                 
Joined: Tue Mar 04, 2008 1:20 pm
Posts: 67                If price is not a problem then take a look at Rad 
Studio XE3 C++, our engineers use it
at work for critical calculations.  Since C++ allows inline assembler a lot of 
the calculations
are programmed in assembler. 

This cuts down the time from weeks to days for calculations. Also, XE3 can 
compile for Windows
32/64 bit , Mac OS/X , iPhone and Html5.

 It also has the best visual environment I have seen to date.

You can also write games easily since it uses the GPU for all calculations.
This can also be used for extremely fast calculations for math.

You can also write Windows 8 apps that will work on the desktop and tablet.

Makes RB look like a toy. But the price is over $4000. U.S.

You could basically write an Operating System with this thing.      
_________________
iMac 2011, OSX Mountain Lion 10.8.1, Real Studio 2012r1  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 8 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to