This still doesn't answer my question: being UB (ie containing binary
executables that run natively on PPC and Intel) is one thing, handling
endianness across the 2 CPUs quite another.

Does anyone know if you store a bunch of shorts, longs or int64's
using a RealSQLDatabase on PPC will work transparently when the same
records are read back on an Intel Mac?

P.


On 4/18/07, Mathieu Langlois <[EMAIL PROTECTED]> wrote:
> The new "RealDatabase" is called RealSQLDatabase, and it's UB.  There
> could be several reasons why they didn't bother to port the old format
> to Intel, the most obvious one being that it's obsolete.  Also perhaps
> they didn't have access to the UB libraries of the underlying engine.
>
> Math
>
> On 4/18/07, Peter K. Stys <[EMAIL PROTECTED]> wrote:
> > I have a similar question, and Mathieu's Intel comment is interesting:
> > is the new RealDatabase "cross-CPU" ie Mac OS X on PPC and Intel?
> > With one of my own apps (that stores images in a binary file) I've had
> > not-so-subtle issues when writing an image file from a PPC Mac then
> > reading the image file on an Intel Mac: byte-swapping is needed.
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>
>


-- 
-------------------------------------------------------------------------------
Peter K. Stys, MD
Professor of Medicine(Neurology), Senior Scientist
Ottawa Health Research Institute, Div. of Neuroscience
Ottawa Hospital / University of Ottawa
Ontario, CANADA
tel:    (613)761-5444
fax:    (613)761-5330
http://www.ohri.ca/profiles/stys.asp
-------------------------------------------------------------------------------
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to