home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / arch / 9018 < prev    next >
Encoding:
Internet Message Format  |  1992-08-22  |  1.7 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!rutgers!cbmvax!jesup
  2. From: jesup@cbmvax.commodore.com (Randell Jesup)
  3. Newsgroups: comp.arch
  4. Subject: Re: 32 => 64 Transition
  5. Message-ID: <34578@cbmvax.commodore.com>
  6. Date: 23 Aug 92 01:57:11 GMT
  7. References: <1992Aug22.001234.10390@adobe.com> <1992Aug22.002912.10884@adobe.com>
  8. Reply-To: jesup@cbmvax.commodore.com (Randell Jesup)
  9. Organization: Commodore, West Chester, PA
  10. Lines: 26
  11.  
  12. zstern@adobe.com (Zalman Stern) writes:
  13. >In the DEC  
  14. >model where int is 32 bits and long and pointers are 64 bits, size_t should  
  15. >be typedef'ed to unsigned long. That way you can allocate and manipulate  
  16. >arrays larger than 2^32 bytes in size. At MIPS, the counter argument to this  
  17. >was that little code out there actually conforms to the ANSI standard and  
  18. >people use int variables to index arrays all the time. Hence if you want to  
  19. >compile dusty decks and have them use arrays bigger than 2^32 bytes, you  
  20. >want int to be 64 bits...
  21.  
  22.     But wouldn't most dusty decks be unlikely to want (or handle) arrays
  23. larger than 2^32 bytes?  I'm sure some do, but I would think that 90+% 
  24. (probably 99+%) of dusty decks could care less about such large objects.
  25.  
  26.     I'd have to side with DEC here, I'm afraid.  I think more and more
  27. software will comply with the standard, and most programs won't be hard to
  28. fix (some will, but those would also be the programs that are hard to maintain
  29. at all).
  30.  
  31. -- 
  32. "Rev on the redline, you're on your own; seems like a lifetime, but soon it's
  33.  gone..."  Foreigner
  34. -
  35. Randell Jesup, Jack-of-quite-a-few-trades, Commodore Engineering.
  36. {uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.cbm.commodore.com  BIX: rjesup  
  37. Disclaimer: Nothing I say is anything other than my personal opinion.
  38.