Re: Size-specific memory access words
- From: "Julian V. Noble" <jvn@xxxxxxxxxxxx>
- Date: Mon, 05 Dec 2005 08:57:22 -0500
Jerry Avins wrote:
>
> Julian V. Noble wrote:
>
> ...
>
> > I myself would prefer to see the notation
> >
> > I16@ I16! 16 bits
> > I32@ I32! 32 bits
> > I64@ I64! 64 bits
> > etc.
> >
> > At least these are clear and unequivocal in meaning.
>
> Clear, but wordy. Wouldn't these suffice?:
>
> 16@ I16! 16 bits
> 32@ I32! 32 bits
> 64@ I64! 64 bits
> etc.
>
> I see no need for consistency with F@, etc.
>
Well, you save 1 letter. Might be worthwhile in an embedded app, but there
you are probably not using 64-bit or even 32-bit processors, nyet?
Doesn't save typing if you are using an intelligent editor. So why not
make the distinction between integers and other types of data (e.g.
floats, strings, blah, blah)?
Despite the epigraph below, I actually like consistency--at least when it
isn't foolish! In particular, since floats and integers occupy different
stacks (at least on the systems I prefer--sorry, Krishna!) it seems to me
worthwhile to remind oneself of that fact. At my advanced age and state of
mental decrepitude I need all the mnemonic help I can get.
Moreover, ANS requires up to 31-character names.
--
Julian V. Noble
Professor Emeritus of Physics
http://galileo.phys.virginia.edu/~jvn/
"A foolish consistency is the hobgoblin of little minds, adored
by little statesmen and philosophers and divines."
-- Ralph Waldo Emerson
.
- Follow-Ups:
- Re: Size-specific memory access words
- From: Jerry Avins
- Re: Size-specific memory access words
- References:
- Size-specific memory access words
- From: Bernd Paysan
- Re: Size-specific memory access words
- From: Julian V. Noble
- Re: Size-specific memory access words
- From: Jerry Avins
- Size-specific memory access words
- Prev by Date: ANN: beta version of 4IM for Windows/Linux released
- Next by Date: Re: C-programmer needs Forth advice
- Previous by thread: Re: Size-specific memory access words
- Next by thread: Re: Size-specific memory access words
- Index(es):
Relevant Pages
|