Re: Minimum VC++ for Multi-Core?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



My impression was that the draft had a lot of wiggle room that allowed the COW
interpretation to look acceptable, and one of the things that was tightened up a lot was
the language that forbade this. Note that the VC6 implementation was probably based on
something earlier than the C++ draft standard, such as the original spec of STL, because
of the timing.

Generally, lazy evaluation can win big, but only if it is done right. We had an Algol-68
implementation running on our big multiprocessor at CMU back in 1977, and it used lazy
evaluation everywhere. Key was that it had to be *absolutely* transparent on a
multiprocessor. Biggest problem we had was the then-current view that there was a 1:1
mapping between threads and processes. In retrospect this was a horrible mistake.
joe

On Sun, 20 May 2007 12:52:28 -0500, "Doug Harrison [MVP]" <dsh@xxxxxxxx> wrote:

On Sun, 20 May 2007 12:12:38 +0100, Daniel James
<wastebasket@xxxxxxxxxxxxxxxx> wrote:

In article news:<qu6u43lq9ek00svircjth2l2kfgkihtosr@xxxxxxx>, Doug Harrison
[MVP] wrote:
The C++ Standard requires that std::string::reference be an actual
reference instead of a class type, and this forbids COW.

..but VC6's std::string is much older than the standard.

The C++ Standard came out in 1998, and VC6 came out in 1998. Moreover,
Dinkumware certainly wrote the library according to the draft standard,
which was no different than the finalized standard in this respect. My
point was, VC6's std::string does not use real COW, nor does any
standard-compliant implementation; they can't, and I explained why in my
previous message.
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages

  • Re: alert is undefined
    ... Arguing with a draft of a standard is a sure sign of cluelessness as draft ... webmasters can use Gears on their websites to let users access ... Do you realize that this is a case of blind leading the blind instead? ...
    (comp.lang.javascript)
  • Re: Challenge 4 (matrix diagonal)
    ... Odd collection of features to emphasize. ... exceptions *TO* the IEEE standard. ... The final draft has not yet been released. ...
    (comp.lang.fortran)
  • Faster Wi-Fi Standard Moves Forward
    ... Faster Wi-Fi Standard Moves Forward ... IEEE 802.11n task group approves draft specification for ... has settled on a draft proposal that will now be refined into ...
    (alt.internet.wireless)
  • Re: Ist der SATAII Standard zu SATA =?ISO-8859-1?Q?abw=E4rtskomp?= =?ISO-8859-1?Q?at
    ... >> Ich habe hier keinen 6er Standard, sondern nur den 7er Draft ... Seite 112, Transition ... Next by Date: ...
    (de.comp.hardware.laufwerke.festplatten)
  • Re: 802.11n Draft Fails to Pass
    ... A draft version of the 802.11n standard failed to pass a first ballot ... Linksys' equipment was made available. ...
    (alt.internet.wireless)