🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.codewarrior
Article #662

Re: The world's simplest C++ thread safe memory debugger

#662
From: Howard Hinnant
Date: Thu, 02 Oct 2003 17:19
48 lines
3309 bytes
In article <teYeb.5819$6C4.4794@pd7tw1no>,
 Steven Fisher <sdfisher@spamcop.net> wrote:

> Howard Hinnant wrote:
> 
> > With the gauntlet thrown, and the overwhelming reader response just 
> > daring me to try and make this puppy thread safe, I just couldn't resist 
> > the challenge. :-)  (is that crickets I hear chirping?  oh never mind)
> 
> I'm reading and learning, I just don't have any comments right now. It's 
> stuff I'm going to need one day, I can already tell, but nothing I can 
> use yet. So by all means, keep writing things! :)

Thanks Steven.

> Only vaguely releated: Have you considered starting a web page like 
> Ben's palmoswerks to organize these tips in?

I've thought about it, but haven't done it yet.  I do have some older 
tips at:

http://home.twcny.rr.com/hinnant/tip_archive/

Unfortunately some of these tips date back several years and have become 
obsolete.  However others are still just as valid today.  I need to sort 
out which is which and throw out the old.

For example tip #2 on this site is "On the Refcounting of string".  But 
the Pro 9 string is no longer refcounted.  And the Pro 9 string is 
available to Pro 8 customers by looking in the Thrill Seekers folder on 
the reference CD.  The whole point of that tip was that you could choose 
whether or not you wanted a refcounted string with #define 
_MSL_NO_REFCOUNT_STRING.  But today _MSL_NO_REFCOUNT_STRING no longer 
has any effect.

Tip #12 "vector - Pro 6" starts out with announcing a bug and how to fix 
it.  Needless to say, that bugfix has long since shipped! :-)  And 
indeed, it is high time for a completely new tip on vector since the Pro 
9 vector has a completely revamped and turbo charged engine under the 
hood (just try inserting into a vector<vector<string> > and see if you 
notice anything really really fast ;-) ).

Thanks for the gentle tap in the backside.  I'll try to update this 
site, and maybe even move it onto the official Metrowerks website.

-Howard
The MSL C++ guy
Metrowerks
Technical Details
Message-ID: <hinnant-46E181.13192402102003@syrcnyrdrs-01-ge0.nyroc.rr.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!cyclone.socal.rr.com!news-west.rr.com!news.rr.com!news-rtr.nyroc.rr.com!news-out.nyroc.rr.com!twister.nyroc.rr.com.POSTED!53ab2750!not-for-mail
References: <hinnant-CF8AA0.21254129092003@syrcnyrdrs-02-ge0.nyroc.rr.com> <teYeb.5819$6C4.4794@pd7tw1no>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bcce,688428e11d0b0079
X-Google-Attributes: gid10bcce,public
X-Google-Thread: f635e,688428e11d0b0079
X-Google-Attributes: gidf635e,public
X-Google-ArrivalTime: 2003-10-02 10:19:57 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!cyclone.socal.rr.com!news-west.rr.com!news.rr.com!news-rtr.nyroc.rr.com!news-out.nyroc.rr.com!twister.nyroc.rr.com.POSTED!53ab2750!not-for-mail
From: Howard Hinnant <hinnant@metrowerks.com>
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac
Subject: Re: The world's simplest C++ thread safe memory debugger
Organization: Metrowerks
References: <hinnant-CF8AA0.21254129092003@syrcnyrdrs-02-ge0.nyroc.rr.com> <teYeb.5819$6C4.4794@pd7tw1no>
User-Agent: MT-NewsWatcher/3.3b1 (PPC Mac OS X)
Message-ID: <hinnant-46E181.13192402102003@syrcnyrdrs-01-ge0.nyroc.rr.com>
Lines: 48
Date: Thu, 02 Oct 2003 17:19:25 GMT
NNTP-Posting-Host: 24.58.14.109
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyroc.rr.com 1065115165 24.58.14.109 (Thu, 02 Oct 2003 13:19:25 EDT)
NNTP-Posting-Date: Thu, 02 Oct 2003 13:19:25 EDT