Re: sizeof([ALLOCATED MEMORY])
- From: Howard Hinnant <howard.hinnant@xxxxxxxxx>
- Date: Thu, 11 May 2006 21:01:19 GMT
In article <4cgeocF15es0cU7@xxxxxxxxxxxxxx>,
Robert Latest <boblatest@xxxxxxxxx> wrote:
On Fri, 05 May 2006 14:26:23 GMT,
Howard Hinnant <howard.hinnant@xxxxxxxxx> wrote
in Msg.
<howard.hinnant-BF10D3.10262305052006@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
What reasonable steps can the C standard take to help the average C
programmer write a more efficient version of [...]
It can't, and it shouldn't. Efficiency is beyond the scope of the C
language definition.
No one is discussing mandated efficiency.
The proposal is an expanded interface giving the programmer more
information about the runtime state of his program at little or no cost.
The information does not need to be generated, it already exists. It's
just that there is currently no interface with which to obtain this
information. It has been shown that this extra information can have a
positive impact on program performance (not standard library efficiency)
if utilized. Programs that do not need or want this extra information
are free to ignore it at no cost.
If you mean that an efficient library interface is beyond the scope of
the C language definition, I think you do the creators of this
definition a disservice. Personally I'm impressed that so many aspects
of C have withstood the test of time over the past 30 years. Given all
of the advances in software development in this time frame, it could not
have done so well without a fundamentally sound and useful interface.
I believe only a small part of this interface needs a minor tweak to
keep up with changing times.
-Howard
.
- Follow-Ups:
- Re: sizeof([ALLOCATED MEMORY])
- From: Robert Latest
- Re: sizeof([ALLOCATED MEMORY])
- References:
- sizeof([ALLOCATED MEMORY])
- From: ballpointpenthief
- Re: sizeof([ALLOCATED MEMORY])
- From: Richard Heathfield
- Re: sizeof([ALLOCATED MEMORY])
- From: Howard Hinnant
- Re: sizeof([ALLOCATED MEMORY])
- From: "Nils O. Selåsdal"
- Re: sizeof([ALLOCATED MEMORY])
- From: Howard Hinnant
- Re: sizeof([ALLOCATED MEMORY])
- From: Stephen Sprunk
- Re: sizeof([ALLOCATED MEMORY])
- From: Howard Hinnant
- Re: sizeof([ALLOCATED MEMORY])
- From: Keith Thompson
- Re: sizeof([ALLOCATED MEMORY])
- From: Robert Latest
- Re: sizeof([ALLOCATED MEMORY])
- From: Howard Hinnant
- Re: sizeof([ALLOCATED MEMORY])
- From: Robert Latest
- sizeof([ALLOCATED MEMORY])
- Prev by Date: Re: Sizes of integers
- Next by Date: C code analisys tool
- Previous by thread: Re: sizeof([ALLOCATED MEMORY])
- Next by thread: Re: sizeof([ALLOCATED MEMORY])
- Index(es):
Relevant Pages
|