On Feb 15, 2006, at 3:29 PM, Joseph J. Strout wrote:

At 1:48 PM -0800 2/15/06, Daniel L. Taylor wrote:

I must confess that I don't understand why certain things are sooo much faster in C than in RB. C will clobber RB in a simple loop even with all the
Pragmas. The difference is huge!

That's not true, in general. A while back we took a simple but non-contrived Mandlebrot generator, and wrote it in both C and REALbasic using the same algorithm. The RB code was slightly faster than the unoptimized C code, and slightly slower than the C code with optimizations on.
Not sure what optimizations are going on in RB these days.
And, doing some by hand can make things pretty reasonable.

For the most part write very low level stuff is about the only reason to use C/C++. But C/C++ are still necessary for writing Database Plugins and some other bits that cannot yet be written in RB successfully. (Note I do say YET)

And expanding RB's realm of usage is, to me, what this very long thread is about.
That is happening, just not at the pace some hope for

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to