home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!darwin.sura.net!mips!mash
- From: mash@mips.com (John Mashey)
- Newsgroups: comp.arch
- Subject: Re: 32 => 64 Transition
- Date: 17 Aug 1992 02:53:25 GMT
- Organization: MIPS Computer Systems, Inc.
- Lines: 21
- Message-ID: <l8u555INN5q6@spim.mips.com>
- References: <1992Aug11.125326.16719@email.tuwien.ac.at> <id.UHAS.9TA@ferranti.com> <robert.713773090@cs.anu.edu.au>
- NNTP-Posting-Host: winchester.mips.com
-
- In article <robert.713773090@cs.anu.edu.au> robert@cs.anu.edu.au (Robert Cohen) writes:
- >Who uses 16 bit variables anymore anyway, memory's cheap, right :-)
-
- To answer this quesiton, try:
- cd /usr/include/sys
- cat *.h|grep -c short
- for a quick idea.
-
- I.e., a typical UNIX kernel has plenty of shorts, because it has
- many dense-packed data structures, and at least some networking
- software makes serious use of shorts, as do some device drivers.
-
-
- If you mostly look at user code,you may decide that
- 16-bit ints can be done away wit.... but if you look at
- kernel code a lot, you may think otherwise...
- --
- -john mashey DISCLAIMER: <generic disclaimer, I speak for me only, etc>
- UUCP: mash@mips.com [soon to be mash@sgi.com, but not quite moved yet].
- DDD: 408-524-7015, or 524-8253
- USPS: (soon) Silicon Graphics, 2011 N. Shoreline Blvd, Mountain View, CA 94043
-