Re: Mystery: static variables & performance
On Sat, 07 Feb 2004 05:35:32 -0700, in comp.lang.c , Mark Shelor
<mshelor@comcas t.removeme.net> wrote:
[color=blue]
>Joona I Palaste wrote:
>[color=green]
>> But that would have been the wrong reply. This newsgroup is about the
>> C language, not about implementations of it. Languages do not have
>> speed. Implementations do. Therefore questions about efficiency are
>> off-topic here.[/color]
>
>
>If you believe it's off-topic, then don't reply. This is an unmoderated
>group.[/color]
actually, its more of a self-regulated group. Offtopic posts get one
polite warning,
[color=blue]
>Also, your presumption of clean separability between language definition
>and efficiency is naive at best, and fatally flawed at worst. The
>creation and refinement of the C language is rooted in the desire to
>achieve efficient portable programs.[/color]
Define efficient. fast? compact? least code? fewest pagefaults? etc
[color=blue]
> Jack said, quite correctly, that the C standard does not define[color=green]
>> efficiency concerns. Honestly, would you think it did? Would it make
>> sense to define "operation X must be 2.5 times slower than operation Y,
>> or else the implementation does not conform to the C standard"?[/color]
>
>No, because the people who created the language--and refined its
>definition into a standard--are reasonably intelligent, unlike your
>example.[/color]
You miss the point entirely. The standard doesn't define these things,
nor the efficiency of your example, because its ntirely system
specific.
[color=blue]
>Nonetheless, if you have something constructive to contribute, then
>please feel free to enlighten me. Otherwise, I recommend you take
>Wittgenstein 's advice and simply remain silent.[/color]
Round here, we ask offtopic posters politely to ask elsewhere. If you
do't like that, then please feel free to remain silent.
--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.c om/ms3/bchambless0/welcome_to_clc. html>
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
On Sat, 07 Feb 2004 05:35:32 -0700, in comp.lang.c , Mark Shelor
<mshelor@comcas t.removeme.net> wrote:
[color=blue]
>Joona I Palaste wrote:
>[color=green]
>> But that would have been the wrong reply. This newsgroup is about the
>> C language, not about implementations of it. Languages do not have
>> speed. Implementations do. Therefore questions about efficiency are
>> off-topic here.[/color]
>
>
>If you believe it's off-topic, then don't reply. This is an unmoderated
>group.[/color]
actually, its more of a self-regulated group. Offtopic posts get one
polite warning,
[color=blue]
>Also, your presumption of clean separability between language definition
>and efficiency is naive at best, and fatally flawed at worst. The
>creation and refinement of the C language is rooted in the desire to
>achieve efficient portable programs.[/color]
Define efficient. fast? compact? least code? fewest pagefaults? etc
[color=blue]
> Jack said, quite correctly, that the C standard does not define[color=green]
>> efficiency concerns. Honestly, would you think it did? Would it make
>> sense to define "operation X must be 2.5 times slower than operation Y,
>> or else the implementation does not conform to the C standard"?[/color]
>
>No, because the people who created the language--and refined its
>definition into a standard--are reasonably intelligent, unlike your
>example.[/color]
You miss the point entirely. The standard doesn't define these things,
nor the efficiency of your example, because its ntirely system
specific.
[color=blue]
>Nonetheless, if you have something constructive to contribute, then
>please feel free to enlighten me. Otherwise, I recommend you take
>Wittgenstein 's advice and simply remain silent.[/color]
Round here, we ask offtopic posters politely to ask elsewhere. If you
do't like that, then please feel free to remain silent.
--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.c om/ms3/bchambless0/welcome_to_clc. html>
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Comment