www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - 64-bit on D - Possible?

reply Zack Green <Plankhead gmail.com> writes:
I want to learn D, and I'm aware that it can run on 64-bit OSes. That said,
most 64-bit OSes have 32-bit compatibility layers.

Is it possible to compile a D program as a native 64-bit app? If not, is there
a timetable for that?
Jun 06 2008
next sibling parent Lars Ivar Igesund <larsivar igesund.net> writes:
Zack Green wrote:

 I want to learn D, and I'm aware that it can run on 64-bit OSes. That
 said, most 64-bit OSes have 32-bit compatibility layers.
 
 Is it possible to compile a D program as a native 64-bit app? If not, is
 there a timetable for that?

You can with GDC. -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the Tango
Jun 06 2008
prev sibling parent reply Tower Ty <towerty msn.com.au> writes:
Zack Green Wrote:

 I want to learn D, and I'm aware that it can run on 64-bit OSes. That said,
most 64-bit OSes have 32-bit compatibility layers.
 
 Is it possible to compile a D program as a native 64-bit app? If not, is there
a timetable for that?

While you are there please answer this if anyone knows I have a 64 bit , Dual Core , single channel machine running Linux. Now I'm unsure as to exactly what that means by way of is it running dmd in 32 bit mode ? or 64 . Whichever, it is running dmd 1.024 satisfactorily now .
Jun 06 2008
parent e-t172 <e-t172 akegroup.org> writes:
Tower Ty a écrit :
 I have a 64 bit , Dual Core , single channel machine running Linux.
 
 Now I'm unsure as to exactly what that means by way of is it running dmd in 32
bit mode ? 
 or 64 . Whichever, it is running dmd 1.024 satisfactorily  now .

DMD only exists in 32-bit. There is no 64-bit binary of DMD. So when you're using DMD on a 64-bit machine, it's running in 32-bit mode.
Jun 07 2008