• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: need help on porting from 32bit to 64bit.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: need help on porting from 32bit to 64bit.


  • Subject: Re: need help on porting from 32bit to 64bit.
  • From: Alastair Houghton <email@hidden>
  • Date: Mon, 3 May 2010 22:51:56 +0100

On 3 May 2010, at 20:09, Nathan Herring wrote:

> GNU also has some compiler intrinsics to perform the same, so you can avoid the cost of the function call to OS services.

IMO it's better to use the OSByteOrder/NSByteOrder/CFByteOrder APIs instead.  They will expand to compiler intrinsics or assembly language as appropriate anyway.

Which you use is, as Jean-Daniel remarked, mainly a matter of taste.

Kind regards,

Alastair.

--
http://alastairs-place.net



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >RE: need help on porting from 32bit to 64bit. (From: Nathan Herring <email@hidden>)

  • Prev by Date: RE: need help on porting from 32bit to 64bit.
  • Next by Date: jemalloc to replace default allocator
  • Previous by thread: RE: need help on porting from 32bit to 64bit.
  • Next by thread: jemalloc to replace default allocator
  • Index(es):
    • Date
    • Thread