comp.lang.ada
 help / color / mirror / Atom feed
From: ada@polarhome.com (Anatoly Chernyshev)
Subject: Re: POLL: Would you use Ada more if...
Date: 27 Aug 2002 11:23:24 -0700
Date: 2002-08-27T18:23:25+00:00	[thread overview]
Message-ID: <2a038d0e.0208271023.6b0fc44e@posting.google.com> (raw)
In-Reply-To: akflgg$1hdrbh$1@ID-77047.news.dfncis.de

Dmitry A.Kazakov <mailbox@dmitry-kazakov.de> wrote in message news:<akflgg$1hdrbh$1@ID-77047.news.dfncis.de>...
> Robert A Duff wrote:
> 
> > That reminds me of a talk I heard some years ago, given by a guy from
> > NASA.  He was talking about the software for the Apollo program.  They
> > had weight budgets for all the pieces of the rocket -- obviously you
> > want to make the thing as light as possible if you're launching it into
> > space.  So the manager asked the software guy how much the software
> > would weigh.  He said software doesn't weigh anything.  The manager said
> > come on, these weight budgets are very important, even if it's not much,
> > every ounce counts.  The software guy tried in vain to convince the
> > manager that the weight of software really is zero.  Eventually the
> > software guy showed the manager a deck of punch cards, and said, See the
> > holes?  That's the software.  Then the manager understood.
> 
> (:-)) 
> 
> [OT] I have almost forgot physics, but I suppose that the weights of 
> RAM/ROM bits set to 0 and 1 should slightly differ. So same CPU may weigh a 
> pair picogramms (?) more or less depending on the software version.

From the Brillouin's theorem:					
Increase in information is equal to the decrease in entropy:		

	dI = -dS							

As soon as dS is in J/(mole*K), the intrinsic energetic part of S
depends on the fraction of the matter by which 1 bit is coded, and, of
course, on the temperature too.
If the bit is coded by, let's say, the spin state of single electron
then mole fraction is equal to 1/NA (Avogadro's number = 6.02e23) =
1.66E-24	moles
Another example, when the bit is coded by an abacus stone maden of
quartz, then molar fraction is going to be mass of the stone (take it
for 5g)/molar mass of quartz (60) = 8.00E-02	moles

The difference in energy for 0 and 1 states for these devices at	
298 K (1*mole*T) will be respectively 4.95E-22 J and 2.38E+01 J.				
From E=mc**2 we now obtain the mass difference between 0 and 1 bits
for these cases: 5.50E-39 kg and 2.65E-16 kg.
If the length of program is 1Mb which is 8388608 bits (we do not
consider the domination of 1 states over 0 states because they do not
complement each other, since one has to always spent some energy to
keep both states ordered) then the mass difference between bulk
support (CD, abacus, etc) will be 4.61E-32	kg in the first case or
2.22E-09 kg in the second case (if one was dare enough to code 1Mb
program in abacus).

This is just an estimation made for fun, so I may be totally wrong.

Regards,
Anatoly



  reply	other threads:[~2002-08-27 18:23 UTC|newest]

Thread overview: 103+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-16  8:46 POLL: Would you use Ada more if Juha Valimaki
2002-08-16 11:25 ` Larry Kilgallen
2002-08-16 11:11   ` Preben Randhol
2002-08-16 11:54     ` John McCabe
2002-08-16 12:44       ` Preben Randhol
2002-08-16 13:17         ` John McCabe
2002-08-16 13:23           ` Preben Randhol
2002-08-16 13:32             ` John McCabe
2002-08-26 18:00               ` Robert A Duff
2002-08-27  8:28                 ` John McCabe
2002-08-27 22:56                 ` Dmitry A.Kazakov
2002-08-27 18:23                   ` Anatoly Chernyshev [this message]
2002-08-27 19:24                     ` Jim Rogers
2002-08-28 14:53                       ` Anatoly Chernyshev
2002-08-28 17:07                         ` Jim Rogers
2002-08-28 17:38                           ` Darren New
2002-08-28 18:29                             ` Jim Rogers
2002-08-29  0:40                             ` Jerry Petrey
2002-08-28  1:41                     ` Robert Dewar
2002-08-28  5:52                       ` tmoran
2002-08-28 19:49                         ` tmoran
2002-08-28 15:05                       ` Anatoly Chernyshev
2002-08-28 20:24                       ` Dmitry A.Kazakov
2002-08-17  4:09             ` Adrian Hoe
2002-08-17 10:12             ` Robert Dewar
2002-08-17 10:57               ` Preben Randhol
2002-08-17 18:00                 ` Robert Dewar
2002-08-17 19:45                   ` Caffeine Junky
2002-08-18  3:41                     ` AG
2002-08-17 20:59                   ` Larry Kilgallen
2002-08-17 21:11                   ` Larry Kilgallen
2002-08-18  8:40               ` Preben Randhol
2002-08-19  0:50                 ` Robert Dewar
2002-08-16 13:33           ` Eric Merritt
2002-08-16 13:41             ` John McCabe
2002-08-16 13:51               ` Eric Merritt
2002-08-16 15:03                 ` Darren New
2002-08-16 15:24                   ` Eric Merritt
2002-08-16 16:26                   ` Robert C. Leif
2002-09-01 22:33                     ` henderson was no auteur
2002-08-16 15:31                 ` Hyman Rosen
2002-08-16 16:17                   ` Eric Merritt
2002-08-16 16:51                     ` Hyman Rosen
2002-08-16 18:03                       ` Eric Merritt
2002-08-16 18:45                         ` Hyman Rosen
2002-08-16 23:11                       ` Chad R. Meiners
2002-08-16 20:46                   ` Chad R. Meiners
2002-08-17  6:22               ` Simon Wright
2002-08-17 15:53                 ` Robert Dewar
2002-08-17 16:09                   ` Warren W. Gay VE3WWG
2002-08-17 17:00                     ` Juha Valimaki
2002-08-17 21:05                   ` Larry Kilgallen
2002-08-19  8:28                   ` John McCabe
2002-08-16 17:03             ` Larry Kilgallen
2002-08-16 16:28               ` Eric Merritt
2002-08-19  8:30               ` John McCabe
2002-08-19 14:03                 ` Larry Kilgallen
2002-08-16 18:27           ` Keith Thompson
2002-08-16 21:19             ` Juha Valimaki
2002-08-16 23:44               ` Chad R. Meiners
2002-08-17  7:49                 ` Juha Valimaki
2002-08-17 10:14               ` Robert Dewar
2002-08-17 12:43                 ` Juha Valimaki
2002-08-17 14:02                 ` Larry Kilgallen
2002-08-17 14:03                   ` chris.danx
2002-08-17 19:04                   ` Point of Information was " Robert C. Leif
2002-08-20  0:17                     ` Robert Dewar
2002-08-17 20:20                 ` Richard Riehle
2002-08-17 10:11           ` Robert Dewar
2002-08-18  2:05             ` Keith Thompson
2002-08-19  8:25             ` John McCabe
2002-08-20 15:48           ` pontius
2002-08-16 16:58         ` Larry Kilgallen
2002-08-16 16:24           ` Warren W. Gay VE3WWG
2002-08-16 17:38             ` Larry Kilgallen
2002-08-16 21:28               ` Warren W. Gay VE3WWG
2002-08-17  4:04         ` Adrian Hoe
2002-08-16 11:25   ` John McCabe
2002-08-16 12:33     ` Preben Randhol
2002-08-16 13:19       ` John McCabe
2002-08-16 16:29         ` Warren W. Gay VE3WWG
2002-08-18  1:52           ` AG
2002-08-19  2:34             ` Warren W. Gay VE3WWG
2002-08-16 18:54         ` Randy Brukardt
2002-08-18 22:44           ` David Thompson
2002-08-17 10:16       ` Robert Dewar
2002-08-16 11:25 ` John McCabe
2002-08-16 13:38   ` Tarjei T. Jensen
2002-09-01 21:40     ` henderson was no auteur
2002-08-16 15:27   ` Juha Valimaki
2002-09-01 21:42     ` henderson was no auteur
2002-09-01 21:36   ` henderson was no auteur
2002-09-02 23:32     ` Larry Kilgallen
2002-09-03  2:33       ` Dennis Lee Bieber
2002-09-03  7:21       ` Dale Stanbrough
2002-08-16 14:00 ` Marin D. Condic
2002-08-19 17:10   ` Richard Riehle
2002-08-19 17:50     ` Marin D. Condic
2002-08-19 20:53     ` Juha Valimaki
2002-08-20  8:29     ` John McCabe
2002-08-20 16:04   ` Kevin Cline
2002-08-17 14:21 ` POLL: " chris.danx
  -- strict thread matches above, loose matches on Subject: below --
2002-08-28 17:43 Anatoly Chernyshev
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox