From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f4671,b1738035b01d4980 X-Google-Attributes: gidf4671,public X-Google-Thread: 1164f8,b1738035b01d4980 X-Google-Attributes: gid1164f8,public X-Google-Thread: 1070f0,b1738035b01d4980 X-Google-Attributes: gid1070f0,public X-Google-Thread: 11035d,b1738035b01d4980 X-Google-Attributes: gid11035d,public From: news@aslan.mindspring.com (News Reader) Subject: Re: Why not Solaris on Alpha? Date: 1997/06/25 Message-ID: <5os82b$43d@camel4.mindspring.com>#1/1 X-Deja-AN: 252567112 Distribution: inet References: <5mrt16$eo3@percy.cs.bham.ac.uk> <5op9bq$heg$1@charm.magnus.acs.ohio-state.edu> <5optku$35f@camel1.mindspring.com> <5ordhc$3bs$1@charm.magnus.acs.ohio-state.edu> Organization: MindSpring Enterprises Inc. Newsgroups: comp.unix.solaris,comp.sys.sun.admin,comp.sys.sun.hardware,comp.sys.dec In article <5ordhc$3bs$1@charm.magnus.acs.ohio-state.edu>, Rob Funk wrote: >In article <5optku$35f@camel1.mindspring.com>, >News Reader wrote: >>In article <5op9bq$heg$1@charm.magnus.acs.ohio-state.edu>, >>Rob Funk wrote: >>>In article <5onrkp$7fo$1@ftel.ftel.co.uk>, >>>Ian G Batten wrote: >>>>That's a lot of data-entry. I'm not saying ``2^64 is more than anyone >>>>will ever need'', but it's a _lot_ of data-entry. >>> >>>It is a lot -- now. 2^32 used to be a lot too. >> >>And still is for most applications. > >Ah, you want to limit it to "most applications"? OK, 16 bits is a lot >for most applications Really? 16 bits wasn't enough for me on the 8086 and was not when I was programming on my (now deceased) 8bit Commodore 64. I often had to use floating point which was slow. Today, only occassionally do I need more than a 4 byte integer. Considerably larger integers fit into 4 bytes as opposed to 2 bytes. As a result, fewer applications need more than 4 byte integers than applications needing more than 2 byte integers. A bit comparison: 2^8 = 256 2^16 = 65,536 which is (256 x 2^8) 2^32 = 4,294,967,296 which is (65,536 x 2^16) 2^64 = 18,446,744,073,709,551,616 which is (4,294,967,296 x 2^32) {numbers generated by the cool 'bc' program} As one can see, it takes exponential increasingly larger numbers to match the capacity of the word size. Occasionally, numbers larger than 2^64 are needed, but floating point approximations are enough for most applications, though not all (science and mathematics applications in particular). In the case of non-integers, floating point must be used anyways. [snip] >, yet we've found plenty of excuses to fill that up. "need" would be a better word. We fill up what we have as we have a need to, not just because it's there. -- mikeh "at" mindspring.net mail to news@aslan.mindspring.com will go to /dev/null nospam@spamthis.yabum.com