From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,379448a54fafa5c9 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,14e882a2e94c4748 X-Google-Attributes: gid1164f8,public X-Google-Thread: 110292,dd67877c854c94c4 X-Google-Attributes: gid110292,public X-Google-Thread: 1051a8,dd67877c854c94c4 X-Google-Attributes: gid1051a8,public From: maliyekk@rice.edu (Anil Thomas Maliyekkel) Subject: Re: What Does DEC Have Left? (was: Current Unpleasantness Resolved) Date: 1997/11/13 Message-ID: <64fn8t$a2f$1@joe.rice.edu>#1/1 X-Deja-AN: 289912048 References: <63q7l7$b7f@flonk.uk.sun.com> <64a3dk$f3b@usenet.pa.dec.com> <64a8d1$j$1@joe.rice.edu> <64fg92$ap1@usenet.pa.dec.com> Followup-To: comp.os.vms,comp.sys.dec,comp.sys.intel,comp.sys.mips Organization: Rice University, Houston, Texas Newsgroups: comp.os.vms,comp.sys.dec,comp.sys.intel,comp.sys.mips Burkhard Neidecker-Lutz (neideck@kar.dec.com) wrote: : In article <64a8d1$j$1@joe.rice.edu> maliyekk@rice.edu (Anil Thomas Maliyekkel) writes: : >What is the differance between a mixed 32/64 OS and an all 64 bits : >OS? The only one I see is that the 64 bit only OS has fewer applications. : The difference is one of programming ease in the years ahead. The "mixed" : camps are heading down the route that Windows went: : mixed models : With Solaris 2.6 you already get -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 : compile switches and you likely have to track what libraries and : executables were built with 64 bit offsets and which ones with 32 bits. : It will be more fun when you also can get different pointer sizes in : Solaris 2.7. If you want to see what's ahead, look at Win16 and Win32: : : huge char * : char * : or somesuch nonsense, together with different opions in libraries and : headers of what they think the second argument to fseek(3s) is and : so on. You are right, 32/64 mixes operating systems are the way to : go. : Burkhard Neidecker-Lutz : EUROMEDIA - Distributed Multimedia Archives for Cooperative TV Production : CEC Karlsruhe , European Applied Research Center, Digital Equip. Corp. : email: neideck@kar.dec.com Mixed model programming is difficult, but it is even more difficult when one side of the equation is a segmented 16 bit memory model. Writing a 16 bit application was difficult in itself because of the fact all you had was a 64k address space, and to get more than that you had to resort to segment register manipulations. That's what makes Win16 programming difficult. But if you are talking about programming ease, well the thing would make programming easier is not having to convert an application that will never come close to requiring 4GB of address space for code or data into a 64 bit application. Especially if you have to allow the code to run on 32 bit machines that don't have an option of running 64 bit binaries. Otherwise you have to keep two versions of the code or define a lot of C macros to get the right data types and pointers in each version.