Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: tlug: kanji or romaji for Japanese? (was: parallel-port IDE)
- To: tlug@example.com
- Subject: Re: tlug: kanji or romaji for Japanese? (was: parallel-port IDE)
- From: "Stephen J. Turnbull" <turnbull@example.com>
- Date: Tue, 20 Oct 1998 16:34:34 +0900 (JST)
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: <Pine.LNX.3.96LJ1.1b7.981020132540.20295A-100000@example.com>
- References: <13868.4127.240351.98727@example.com><Pine.LNX.3.96LJ1.1b7.981020132540.20295A-100000@example.com>
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
>>>>> "Scott" == Scott Stone <sstone@example.com> writes: Scott> both counts of what? Maybe we're misunderstanding each Scott> other here... but if you had 4-byte characters, then a Scott> string, normally declared in C as 'char *string' (an Scott> oversimplification of course), would become 'int *string', This was exactly my point. Scott> at least on x86 machines (I believe that 'int' is not 4 Scott> bytes on all architectures, right?) The 'long double' Scott> thing was intended as a Humorous Exaggeration. Count 1: wasteful. Characters are an opaque data type; if they're 32 bits, they're ints. Thus, not wasteful. (OK, actually UCS-4 is 31 bits. As Phil Collins didn't sing, so-so-so-su-mi-o.) For practical purposes (ie, working with existing code), int is 32 bits. Architectures with 64 bit ints do exist, of course (Alpha and I believe UltraSparc come to mind; purging ports of the int = 32 bits assumption is a regular complaint of Alpha programmers), and there it would be wasteful. Point taken. Count 2: using doubles to represent characters. Won't happen, chars are integral types, and do not compare sensibly (among other things). A Humorous Exaggeration should have borrowed a declaration from a multi-precision int library ;-) Aren't you glad you asked? -- University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN Institute of Policy and Planning Sciences Tel/fax: +1 (298) 53-5091 __________________________________________________________________________ __________________________________________________________________________ What are those two straight lines for? "Free software rules." --------------------------------------------------------------- Next Nomikai: 20 November, 19:30 Tengu TokyoEkiMae 03-3275-3691 Next Meeting: 12 December, 12:30 Tokyo Station Yaesu central gate --------------------------------------------------------------- Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp
- Follow-Ups:
- tlug: 64 bit int
- From: Darren Cook <darren@example.com>
- References:
- Re: tlug: kanji or romaji for Japanese? (was: parallel-port IDE)
- From: "Stephen J. Turnbull" <turnbull@example.com>
- Re: tlug: kanji or romaji for Japanese? (was: parallel-port IDE)
- From: Scott Stone <sstone@example.com>
Home | Main Index | Thread Index
- Prev by Date: RE: tlug: kanji or romaji for Japanese?
- Next by Date: tlug: 64 bit int
- Prev by thread: Re: tlug: kanji or romaji for Japanese? (was: parallel-port IDE)
- Next by thread: tlug: 64 bit int
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links