Topic: 1/3 - Some C/C++ Optimization Idioms I Wish Compilers Supported (Part 1 of 3)


Author: allan_w@my-dejanews.com (Allan W)
Date: Tue, 5 Nov 2002 18:23:45 CST
Raw View
andys@evo6.com.NoSpam (Andy Sawyer) wrote
>  junkmacc1@hotmail.com ("Willow Schlanger (junkmacc1)") wrote:
> [quoting elided due to copyright notice]
>
> You say "many compilers" miss these optimisations, yet you cite only 2
> examples (Borland, g++). I submit that "two" is not "many".

In common English usage, "many" means "a large number."
But in Computer Science, "many" often means "more than one."
i.e. relational databases support either "1:1" or "1:many" relationships.

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]





Author: andys@evo6.com.NoSpam (Andy Sawyer)
Date: Wed, 6 Nov 2002 02:27:32 +0000 (UTC)
Raw View
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D MODERATOR'S COMMENT:=20
 By consensus of the so-called "moderators," this
thread has outlived its usefulness and is now dead.


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D END OF MODERATOR'S COMMENT
In article <7f2735a5.0211051605.210676ee@posting.google.com>,
 on Tue,  5 Nov 2002 18:23:45 CST,
 allan_w@my-dejanews.com (Allan W) wrote:

> andys@evo6.com.NoSpam (Andy Sawyer) wrote
> >  junkmacc1@hotmail.com ("Willow Schlanger (junkmacc1)") wrote:
> > [quoting elided due to copyright notice]
> >=20
> > You say "many compilers" miss these optimisations, yet you cite only =
2
> > examples (Borland, g++). I submit that "two" is not "many".
>=20
> In common English usage, "many" means "a large number."
> But in Computer Science, "many" often means "more than one."
> i.e. relational databases support either "1:1" or "1:many"
> relationships.

In the context you describe, the word "many" often means "zero or
more". Therefore, given your definition of "many", there are "many"
people who think that your claim is ludicrous, given the context in
which the word was used in the original post.

Of course, your claim is made as a cheap attempt to take pot-shots at
me (I believe the commonly used term is "Trolling"). Since the censors
(so-called "moderators") of this newsgroup have, on many=B9 occasions,
allowed individuals - including yourself - to do so, yet rejected my
reasoned responses to those pot-shots I have to assume that you will
not see this post.

Regards,
 Andy S.
Footnotes:=20
=B9  Here, many is used in it's common English usage of "a large number".
--=20
"Light thinks it travels faster than anything but it is wrong. No matter
 how fast light travels it finds the darkness has always got there first,
 and is waiting for it."                  -- Terry Pratchett, Reaper Man

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]





Author: firefly-mail@gmx.net (Martin Dickopp)
Date: Mon, 4 Nov 2002 01:12:45 +0000 (UTC)
Raw View
In comp.lang.c "Willow Schlanger (junkmacc1)" <junkmacc1@hotmail.com> wrote:
[...]

The copyright notice in your posting, which prohibits distribution of
modified versions, makes it illegal to quote parts of your posting.
This makes it practically impossible to reply at all. I can therefore
only assume that you are not interested in comments.

Martin

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]





Author: andys@evo6.com.NoSpam (Andy Sawyer)
Date: Mon, 4 Nov 2002 03:06:02 +0000 (UTC)
Raw View
In article <3DBE2B19.5010703@hotmail.com>,
 junkmacc1@hotmail.com ("Willow Schlanger (junkmacc1)") wrote:

[quoting elided due to copyright notice]

You say "many compilers" miss these optimisations, yet you cite only 2
examples (Borland, g++). I submit that "two" is not "many".

Since you claim g++ does not perform these optimisations, perhaps you
should volunteer your services to the g++ team, to help improve their
optimizer.

Similarly, since you claim Borland C++ does not perform these
optimizations, perhaps you should volunteer to offer your services to
Borland to help improve their optimizer.

Regards,
 Andy S
--
"Light thinks it travels faster than anything but it is wrong. No matter
 how fast light travels it finds the darkness has always got there first,
 and is waiting for it."                  -- Terry Pratchett, Reaper Man

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]





Author: Dan.Pop@cern.ch (Dan Pop)
Date: Mon, 4 Nov 2002 13:02:31 +0000 (UTC)
Raw View
In <aq4del$l9p$06$2@news.t-online.com> firefly-mail@gmx.net (Martin Dickopp) writes:

>In comp.lang.c "Willow Schlanger (junkmacc1)" <junkmacc1@hotmail.com> wrote:
>[...]
>
>The copyright notice in your posting, which prohibits distribution of
>modified versions, makes it illegal to quote parts of your posting.
>This makes it practically impossible to reply at all. I can therefore
>only assume that you are not interested in comments.

If a copyright notice is more restrictive than the copyright law, it is
the latter that rules what is legal.

Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email: Dan.Pop@ifh.de

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]





Author: blp@cs.stanford.edu (Ben Pfaff)
Date: Mon, 4 Nov 2002 18:39:55 +0000 (UTC)
Raw View
not-a-real-address@usa.net (those who know me have no need of my name) writes:

> in comp.lang.c i read:
>
> >- This is part 1 of 3 of the posting with subject "Some C/C++
> >Optimization Idioms I Wish Compilers Supported," dated Oct 28, 2002.
>
> take it to appropriate groups.  none of the groups to which you posted are
> appropriate.

Perhaps comp.compilers would be appropriate.

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]





Author: andys@evo6.com.NoSpam (Andy Sawyer)
Date: Tue, 5 Nov 2002 20:42:16 +0000 (UTC)
Raw View
In article <3DC7FDD6.615DA000@company.com>,
 first.last@company.com (Default User) wrote:

> Martin Dickopp wrote:
>
> > The copyright notice in your posting, which prohibits distribution of
> > modified versions, makes it illegal to quote parts of your posting.
[...]
>
> Some info on copyrights.
>
[...]

4. The copyright laws in your jurisdiction may differ from those in
   the poster's jurisdiction, or in the jurisdiction of any follow-up
   poster and therefore some (or all) of your points may not apply.

Regards,
 Andy S.
--
"Light thinks it travels faster than anything but it is wrong. No matter
 how fast light travels it finds the darkness has always got there first,
 and is waiting for it."                  -- Terry Pratchett, Reaper Man

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]