Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Talk me about 64 bit systems...

Name: Anonymous 2009-08-28 16:05

Suppose you just buy a new piece of computer, with 64 bit technology and everything you consider cool. And suppose you'd like to install a GNU/Linux system on it.

As you've got a 64 bit architecture, I think you should use a 64 bit distribution, right? Once you installed it, since the 32 bit instruction set should be still available, you should be able to run 32 bit applications as well.

The only thing that may prevent you to run it would be the use of shared libraries, since a 32 bit application could never dinamically load a 64 bit shared library...

Is there a leak in my reasoning?

Name: Anonymous 2009-08-28 16:07

You can use a 32 bit distribution, but why would you?

Name: Anonymous 2009-08-28 16:13

Well... I've just read this article: http://www.linuxforums.org/forum/linux-tutorials-howtos-reference-material/69585-should-you-choose-32-bit-64-bit-linux.html

And actually there seems no real reason to use a 64 bit distribution... so that why should I buy a 64 bit computer then? And most importantly, am I able to find a 32 bit computer here around?

Name: Anonymous 2009-08-28 16:17

>>2
Oh, I forgot... Never mind what I'm going to buy, I'm very curious to know if my reasoning is right.

Name: Anonymous 2009-08-28 17:25

>>3
No reason? How about the extra memory and some 64bit only applications.

Why would you buy a 32bit computer? 64bit Core2's work quite well in 32bit mode if you want to use them like that.

Name: Anonymous 2009-08-28 17:37

>>5
Ok... but don't you think that using it in 32 bit would be a kind of waste? That's why I'm asking if is it possible to run a 32 bit application on a 64 bit distro.

Name: Anonymous 2009-08-28 18:01

>>6
Yes, it would be slightly wasteful, but you will be able to benefit from the extra cores, and the extra speed that newer Core2 CPUs have.

A quick google search will tell you that you need ia32-libs to run 32bit code from a 64bit Linux OS.

As for the other OSes:
On 64bit Windows, it can emulate 32bit apps using the Wow64 layer, it works pretty well.
On 32bit Windows, you can natively(at full speed) virtualize 64bit OSes using your favorite virtualization suite such as vmWare (will only work if your CPU has native virtualization support).

This question belongs in /g/, why did you ask /prog/ about it?

Name: Anonymous 2009-08-28 18:21

>>7
Thanks for your answers and...

This question belongs in /g/, why did you ask /prog/ about it?
Basically because I trust /prog/ more than /g/, and because this question is expecially related to shared libraries.

Name: Anonymous 2009-08-28 19:58

Why don't just use Solaris?

Name: Anonymous 2009-08-28 20:07

Consider that most programs don't need an extra 32 bits for their computations (i.e. they work with values usually less than 4 billion), and that 64-bit code takes twice as much space for each immediate value (the upper 4 bytes always being 0), and you'll see that 64-bit is more of a waste. The only way I see it would be useful is if you need more than 64GB of RAM and/or 64-bit integers are needed in your programs -- enterprise or scientific computing applications are some examples of this.

Name: Anonymous 2009-08-28 20:18

>>10
Except that with x86, it's not just about the pointer size. The x86-64 architecture doubles the inventory of GPRs, which means that you don't have to push as many values to the stack when making function calls, which means that everything is suddenly a lot less cache-sensitive. In other words, the x86 -> x86-64 move is a specific case where, by sheer coincidence, everything does indeed get faster.

Name: Anonymous 2009-08-28 21:57

>>11
Except there's no software for it yet compared to x86 software.

Name: Anonymous 2009-08-28 23:02

>>12
There's some 64-bit only software, and for free software you can just build your own. For commercial ones, you may be lucky to get a 64-bit version from time to time.

Name: Anonymous 2009-08-28 23:11

>>13
lol free software is such shit

Name: Anonymous 2009-08-29 1:46

>>14
I blame you.

Name: Anonymous 2009-08-29 5:22

>>11
That's true, but it works only if the compiler that produces the code is smart enough to use this feature.

As ARM ASSEMBLY PROGRAMMER I know that there's a huge difference in performances between user-written assembly and compiler assembly... this is particulary true on ARM platform because of it's flexible instruction set.

Name: Anonymous 2010-11-26 3:37

Don't change these.
Name: Email:
Entire Thread Thread List