--On Friday, September 16, 2005 8:41 AM -0400 Alan Clegg <[EMAIL PROTECTED]>
wrote:

And, if you've written optimized code, you've written unportable code.

Such code need not be splattered about. You contain the non-portable stuff
and mark it accordingly.

I've been porting some 32-bit stuff to 64-bit and the biggest issues have
been dealing with casts from pointers to 32-bit ints, because the pointers
are too big, and in some assembly code to do CPU detection (which is of
course expected). The pointer issue comes from some streaming code that
tries to stream structures across the network. The pointers get converted
to integer tags for transit and back again when received. That'll probably
be an issue in any streaming library.



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to