delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/25/07:35:46

Message-ID: <374A14B0.502645D1@enter.net>
Date: Mon, 24 May 1999 23:10:40 -0400
From: Sean <sproctor AT enter DOT net>
X-Mailer: Mozilla 4.51 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: ? array[n] or array[n+1] ?
References: <37367f71 DOT 6271443 AT news DOT wanadoo DOT fr> <3736A098 DOT 55E268BE AT softhome DOT net> <373c0195 DOT 3902906 AT news DOT wanadoo DOT fr> <3737f542 DOT 0 AT nnrp1 DOT news DOT uk DOT psi DOT net> <3739F455 DOT 1818FDD7 AT unb DOT ca> <373a1915 DOT 3102234 AT noticias DOT iies DOT es> <373B61C6 DOT 20FA8B62 AT unb DOT ca> <373d718b DOT 2239096 AT noticias DOT iies DOT es> <373CFC5B DOT 3E5297D4 AT unb DOT ca> <3745E3D8 DOT EF5B5F60 AT enter DOT net>
NNTP-Posting-Host: 207.16.158.217
X-Original-NNTP-Posting-Host: 207.16.158.217
X-Trace: 24 May 1999 23:10:10 -0400, 207.16.158.217
Organization: Enter.Net
Lines: 39
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Sean wrote:
> 
> Endlisnis wrote:
> >
> > Guillermo Rodriguez Garcia wrote:
> >
> > > >> >Outcome #3:  Something terrible might happen.  Worst case scenario (never known
> > > >> >anyone it has happened to, but it's possible): overwriting some buffered portion
> > > >> >of a hard-drive or memory mapped io could desroy data or hardware.
> > > >> Hardware? You must be joking.
> > > >    Well, there's the old story about the non-multi-sync monitors that you could
> > > >break if you switched the mode too fast.
> > > OK, I get the idea. But I think it is just too difficult to make any
> > > of these things happen.
> >
> >     You can usually just ignore it, and most of the time screwing with memory will do
> > nothing or make your program crash.  I've talked to many programmers and I've never
> > actually hear of a recent even of hardware breakage, so you can put it out of your mind
> > unless you are working on an old machine or on a VERY CRITICAL system.  All-in-all, it
> > is practically impossible to accidentally hurt hardware, but my point was to show you
> > that it was still possible under certain very unlikely conditions.  (odds around 1 in
> > 2^10000)
> > --
> >      (\/) Endlisnis (\/)
> >           s257m AT unb DOT ca
> >           Endlisnis AT HotMail DOT com
> >           ICQ: 32959047
> 
> 2^10000??  I doubt that a lot.  Since ummm, I doubt there's anywhere
> near 2^10000 bits on your hard drive... and if you had an equal chance
> of changing each one... but anyway, I doubt there's 2^10000 programs out
> there and I'm also sure that more than one has done that.  Sorry for the
> nitpicking.  But if 2^100 were written every second (that's 1.27 *
> 10^30) for the last 50 years, then only 2 * 10^39 would be written or
> less than 1.5 * 2^130.  And even that's a gross exaggeration.

Oh, excuse me, somehow that got on the wrong thread, I'm very sorry.

Sean

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019