www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - 64 bit version?

reply mok-kong shen <mok-kong.shen t-online.de> writes:
I just read that D fits nicely to the 64-bit architecture. Is there currently
a D compiler that fully exploits the 64-bit hardware under Windows 7? I mean
e.g. one can have operations in D on unsigned long int of 64 bits size that
correspond directly to hardware operations so as to achieve high efficiency?
(Sorry for my ignorant's question, I don't know yet the language.) Thanks in
advance.

M. K. Shen
Sep 22 2011
next sibling parent Jonathan M Davis <jmdavisProg gmx.com> writes:
On Thursday, September 22, 2011 19:38:25 mok-kong shen wrote:
 I just read that D fits nicely to the 64-bit architecture. Is there
 currently a D compiler that fully exploits the 64-bit hardware under
 Windows 7? I mean e.g. one can have operations in D on unsigned long int of
 64 bits size that correspond directly to hardware operations so as to
 achieve high efficiency? (Sorry for my ignorant's question, I don't know
 yet the language.) Thanks in advance.

It's a toolchain issue. dmc, Digital Mars' C compiler, and optlink, its linker, are 32-bit only. On Linux, gcc is used as the linker, and gcc can be 64-bit, so it was fairly straightforward to port dmd to 64-bit on Windows as far as the toolchain goes, but since on Windows, the entire rest of the toolchain is still 32-bit only, we can't have a 64-bit dmd yet. It'll happen eventually, but I believe that the main focus at this point is on bug fixing and that fixing the Windows toolchain to be 64-bit capable is a lower priority for right now. - Jonathan M Davis
Sep 22 2011
prev sibling next sibling parent reply Trass3r <un known.com> writes:
Currently you have to use GDC.
Sep 22 2011
parent reply Trass3r <un known.com> writes:
 or ldc, I thought that could also compile d2

LLVM still doesn't support SEH, though it's being worked on.
Sep 22 2011
parent Robert Clipsham <robert octarineparrot.com> writes:
On 22/09/2011 21:12, Trass3r wrote:
 or ldc, I thought that could also compile d2

LLVM still doesn't support SEH, though it's being worked on.

The latest development code does for Win64. -- Robert http://octarineparrot.com/
Sep 25 2011
prev sibling parent maarten van damme <maartenvd1994 gmail.com> writes:
--0016364997f98e910d04ad8d3b9a
Content-Type: text/plain; charset=ISO-8859-1

or ldc, I thought that could also compile d2

2011/9/22 Trass3r <un known.com>

 Currently you have to use GDC.

--0016364997f98e910d04ad8d3b9a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable or ldc, I thought that could also compile d2<br><br><div class=3D"gmail_quo= te">2011/9/22 Trass3r <span dir=3D"ltr">&lt;<a href=3D"mailto:un known.com"=
un known.com</a>&gt;</span><br><blockquote class=3D"gmail_quote" style=3D"=

Currently you have to use GDC.<br> </blockquote></div><br> --0016364997f98e910d04ad8d3b9a--
Sep 22 2011