Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ The Be FAQs

Media Vault

Software Library

Restoration Projects

Artifacts Sought

The Be FAQs

  cubeprefsicon graphic [Bar]


The Be FAQs
BeOS for Intel

 

Uh, "endianess issues"? What are those, and how bad will they be?

Top Up << >>
BeOS for Intel:
Developer Questions
FAQ Number:
FAQ-0428
Last Modified:
2/10/98
Keywords:
BeOS, Intel, Developer, Questions, port, software, platform, PowerPC, cross, compile, CodeWarrior, API, endianess
"Endianess" refers to the way that different processors (for example, Intel x86 and PowerPC) represent data internally. Basically, there are two different possibilities, little and big. Intel uses little, while PowerPC uses big.

The "issues" part comes when you want to move data from one system to another, say, when you transfer a word processing file from a BeOS/PPC system to a BeOS/Intel system, or even to a Windows/Intel system. Because the processor's endianess changes, the data could be unreadable.

Fortunately, endianess issues are well understood, and well-written software takes it into account. For developers who have already thought about the problem (and there are plenty of textbooks with the answer), it shouldn't be a stumbling block.

Be has included a number of functions for doing byte-swapping, etc., which are commonly used in writing endian-neutral code, and we've written several Newsletter articles about the issue:

YABSA -- Yet Another Byte-swapping Article, By Bradley Taylor
Will Your DATA Look Like ATAD?, By Bradley Taylor


<<How easy is it to port BeOS software from one hardware platform to another? Are the APIs the same for the BeOS for Intel and for PowerPC? >>


Copyright ©1998 Be, Inc.Be is a registered trademark, and BeOS, BeBox, BeWare, GeekPort, the Be logo and the BeOS logo are trademarks of Be, Inc. All other trademarks mentioned are the property of their respective owners.
Icons used herein are the property of Be Inc. All rights reserved.
Comments about this site? Please write us at webmaster@be.com.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026