www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - DMD 64bit Status?

reply Jonathan Crapuchettes <jcrapuchettes gmail.com> writes:
Can anyone tell me the status of the DMD 64bit compiler? I'm going to be
working 
on a project in the next month that will involve 18,000 x 18,000 double 
matrices. 32bit will only allow me to work with 1 at a time and I need to be 
able to handle minimum of 2 at a time. I have thought of using LDC, but that 
would require rewriting 10,000 lines of code to work with Tango instead of
Phobos.

Thank you,
JC
Aug 18 2010
next sibling parent reply Michael Parrott <baseball.mjp gmail.com> writes:
Jonathan Crapuchettes Wrote:

 Can anyone tell me the status of the DMD 64bit compiler? I'm going to be
working 
 on a project in the next month that will involve 18,000 x 18,000 double 
 matrices. 32bit will only allow me to work with 1 at a time and I need to be 
 able to handle minimum of 2 at a time. I have thought of using LDC, but that 
 would require rewriting 10,000 lines of code to work with Tango instead of
Phobos.
 
 Thank you,
 JC
Have you thought about trying GDC? http://bitbucket.org/goshawk/gdc/wiki/Home
Aug 18 2010
parent reply Jonathan M Davis <jmdavisprog gmail.com> writes:
On Wednesday, August 18, 2010 14:34:42 Michael Parrott wrote:
 Jonathan Crapuchettes Wrote:
 Can anyone tell me the status of the DMD 64bit compiler? I'm going to be
 working on a project in the next month that will involve 18,000 x 18,000
 double matrices. 32bit will only allow me to work with 1 at a time and I
 need to be able to handle minimum of 2 at a time. I have thought of
 using LDC, but that would require rewriting 10,000 lines of code to work
 with Tango instead of Phobos.
 
 Thank you,
 JC
Have you thought about trying GDC? http://bitbucket.org/goshawk/gdc/wiki/Home
That's definitely on option, but I don't believe that either LDC or GDC is even close to up-to-date with regards to D2 (the GDC page lists 2.020 as the version it supports, and we're on version 2.048). So, if D2 is what you're looking for, then your best bet is to wait for 64-bit dmd to be finished. If you're using D1, though, both LDC and GDC should be good options. - Jonathna M Davis
Aug 18 2010
parent Jonathan Crapuchettes <jcrapuchettes gmail.com> writes:
Thank you for your input. I haven't used GDC since it was updated to a new DMD 
front end. I am using D1 for the moment, so it should work well enough.

Thanks again,
JC

Jonathan M Davis wrote:
 On Wednesday, August 18, 2010 14:34:42 Michael Parrott wrote:
 Jonathan Crapuchettes Wrote:
 Can anyone tell me the status of the DMD 64bit compiler? I'm going to be
 working on a project in the next month that will involve 18,000 x 18,000
 double matrices. 32bit will only allow me to work with 1 at a time and I
 need to be able to handle minimum of 2 at a time. I have thought of
 using LDC, but that would require rewriting 10,000 lines of code to work
 with Tango instead of Phobos.

 Thank you,
 JC
Have you thought about trying GDC? http://bitbucket.org/goshawk/gdc/wiki/Home
That's definitely on option, but I don't believe that either LDC or GDC is even close to up-to-date with regards to D2 (the GDC page lists 2.020 as the version it supports, and we're on version 2.048). So, if D2 is what you're looking for, then your best bet is to wait for 64-bit dmd to be finished. If you're using D1, though, both LDC and GDC should be good options. - Jonathna M Davis
Aug 19 2010
prev sibling next sibling parent Jonathan M Davis <jmdavisprog gmail.com> writes:
On Wednesday, August 18, 2010 14:29:04 Jonathan Crapuchettes wrote:
 Can anyone tell me the status of the DMD 64bit compiler? I'm going to be
 working on a project in the next month that will involve 18,000 x 18,000
 double matrices. 32bit will only allow me to work with 1 at a time and I
 need to be able to handle minimum of 2 at a time. I have thought of using
 LDC, but that would require rewriting 10,000 lines of code to work with
 Tango instead of Phobos.
 
 Thank you,
 JC
For Windows, it's likely to be a while since dmc's linker is apparently only 32- bit at this point. For Linux, Walter is working on it right now. He's far enough along that he has hello world working. It was not far enough along for it to be included in the most recent release. I don't know how long he expects it to take or whether it will be out in the next release or not. So, if you have to start a project in the next month and you need 64-bit right away, then you're probably going to be out of luck. However, we should have 64-bit dmd for Linux fairly soon. Whether that's a month from now or 3 months from now or when, I don't know. But it is the main thing that Walter is working on right now, so it's definitely coming. - Jonathan M Davis
Aug 18 2010
prev sibling parent dsimcha <dsimcha yahoo.com> writes:
== Quote from Jonathan Crapuchettes (jcrapuchettes gmail.com)'s article
 Can anyone tell me the status of the DMD 64bit compiler? I'm going to be
working
 on a project in the next month that will involve 18,000 x 18,000 double
 matrices. 32bit will only allow me to work with 1 at a time and I need to be
 able to handle minimum of 2 at a time. I have thought of using LDC, but that
 would require rewriting 10,000 lines of code to work with Tango instead of
Phobos.
 Thank you,
 JC
If you're not using D2, but lack of Phobos in LDC is getting in the way, you could try Tangobos (http://www.dsource.org/projects/tangobos/). It's basically a port of the D1/Phobos high-level modules to the Tango runtime. If you are using D2, then you're pretty much SOL until DMD64 is ready. Although GDC has been resurrected and D2 support is being worked on, its D2 support is so outdated that the chances of it being up to date before DMD64 is ready are close to zero. LDC2 basically doesn't work right now and doesn't seem to be getting much attention. One more thing to note: The matrix in question takes ~2.5 GB of space, so if you could drop down to single precision floats, use a 64-bit OS and use large address support (which allows you to use all 4GB of 32-bit address space for your userland code if you have a 64-bit OS), you may be able to get away w/ doing your work in 32-bit.
Aug 18 2010