Mailinglist Archive: opensuse (686 mails)

< Previous Next >
Re: [opensuse] 64 bit vs 32 bit RAM consumption
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Tue, 23 Jul 2013 16:22:32 +0200 (CEST)
  • Message-id: <alpine.LNX.2.00.1307231621170.5519@minas-tirith.valinor>
Hash: SHA256

El 2013-07-23 a las 10:12 -0400, James Knott escribió:

Carlos E. R. wrote:
However, when the application was designed for 32 bit and then is re-compiled for 64, it may well happen that the size of the variable types chosen may shift from 32 to 64 bit - thus automatically the size of those variables increase to double.

Several years ago, I was taking a C programming course at a local college. In class, we were using Borland's Turbo C++ on Windows 3.11. At home I had Borland C++ for OS/2 (it's still sitting on my shelf). So, in class integers were 16 bits, but 32 bits at home. This caused problems on occasion, when code that worked perfectly at home would fail in class, due to the difference in integer size. ;-)

Oh, yes, but that is another issue. Typically, a variable would overflow earlier.

- -- Cheers

Carlos E. R.
(from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith))

Version: GnuPG v2.0.16 (GNU/Linux)

< Previous Next >