From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,7dbbc5a382c050e X-Google-Attributes: gidfa528,public X-Google-Thread: f6134,7dbbc5a382c050e X-Google-Attributes: gidf6134,public X-Google-Thread: f7344,7dbbc5a382c050e X-Google-Attributes: gidf7344,public X-Google-Thread: fa66c,7dbbc5a382c050e X-Google-Attributes: gidfa66c,public X-Google-ArrivalTime: 2001-09-08 19:44:34 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed1.cidera.com!Cidera!news.mv.net!not-for-mail From: "Bill Todd" Newsgroups: comp.org.decus,comp.os.vms,comp.sys.tandem,comp.unix.tru64 Subject: Re: RIP Bill Gates Date: Sat, 8 Sep 2001 22:45:34 -0400 Organization: Why won't Outlook let me leave this blank? Message-ID: <9nel2f$m1j$1@pyrite.mv.net> References: <6Pbl7.8297$Op6.1683398@typhoon1.gnilink.net> <9n3t8t$b6e$1@pyrite.mv.net> <9ndgae$m9u@web.nmti.com> <3B9AC8F5.50E57870@videotron.ca> NNTP-Posting-Host: bnh-5-43.mv.com X-Trace: pyrite.mv.net 1000003471 22579 199.125.98.43 (9 Sep 2001 02:44:31 GMT) X-Complaints-To: abuse@mv.com NNTP-Posting-Date: 9 Sep 2001 02:44:31 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.org.decus:1619 comp.os.vms:43607 comp.sys.tandem:1512 comp.unix.tru64:4754 "JF Mezei" wrote in message news:3B9AC8F5.50E57870@videotron.ca... > Peter da Silva wrote: > > > ISTR IA64 is little-endian. > > OK, reality check time: > > Does it really matter if an OS is big or little endian ? In the context of this discussion, beyond any shadow of a doubt. The context is the 'convergence' of Tru64 and HP-UX. The former is little-endian, the latter big-endian. That means: 1) Forget about transparently mingling Tru64 nodes and HP-UX nodes in the same cluster: a) At the lowest level, the same application binaries won't run on different-endian nodes - *even if both nodes are Alphas, or both nodes are Itanics* - since Tru64 binaries were complied to run on little-endian hardware and HP-UX binaries were compiled to run on big-endian hardware. b) Text-only files could be shared by both platforms (assuming they adopted common cluster protocols - itself a mammoth undertaking), but no file containing integer data wider than a single byte could, because data structures in files are not self-describing hence even if you knew in which-endian mode the file had been created you wouldn't know - except within the application, using application code explicitly written for this purpose - the structure of the data and which data elements required conversion. If the cluster supports truly-shared devices (or even single ownership with fail-over), only same-endian nodes can handle any given device unless the file structure (meta-data) on that device is changed to be endian-independent (or at least the file system code is changed to be endian-sensitive). 2) Forget about moving application source code transparently between platforms of different endianness (even if they're both running the same OS), unless you've verified that the code is in no way endian-sensitive. Since all DEC platforms have been little-endian since before DEC had a Unix at all (unless Ultrix ran big-endian on MIPS, 'way back when?), expect a fair amount of endian-sensitive code to be out there. (Code ported from Windows environments, all of which are little-endian, is often endian-sensitive as well.) 3) Forget about moving data transparently between platforms of different endianness (even if they're both running the same OS), unless you've verified that it's not endian-sensitive. I realise that you > need to know in order to convert data you receive from other machines, but > other than that, does it matter ? Pretty much only if you want to mingle mixed-endian platforms in the same cluster, or port code that is endian-sensitive, or share data that is endian-sensitive. In the context of this discussion, all are likely important issues. > > And at the OS level, would it be a huge task to recompile Tru64 to run on > Alpha in big endian mode ? > (eg: are there a LOT of assumptions in the OS about the endianness of the > platform ? or are they handled by the compiler/cpu ?) That's not a relevant question unless you've already ascertained that all applications and non-byte-structured data of any real significance could be moved to a big-endian environment without problems (which is not to say without effort). And of course you still couldn't mix big-endian Tru64 nodes with little-endian Tru64 nodes in the same cluster, or move non-byte-structured data transparently between nodes of different endianness. So IMO the idea that Tru64 and HP-UX will 'converge' is poppycock. At best, HP-UX will inherit some useful features from Tru64. But Tru64 itself is toast, for the reasons I gave previously (plus the fact that HP-UX has 9% penetration in the enterprise space compared with 2% for Tru64, last I heard): "Tru64 suffers in this acquisition from being the technology of the acquiree rather than the acquirer, from competing with an existing Unix owned by the acquirer, from being a little-endian system that won't easily be melded with the acquirer's big-endian system, from being currently available only on a lame-duck hardware platform, and from already having given a lot of its differentiating goodies to Linux." - bill