digitalmars.D - 64 bits D compiler ?
- Vermi (4/4) Nov 22 2008 Hi,
- Denis Koroskin (4/11) Nov 22 2008 There is a LLVM D compiler (LDC for short) in works:
- Tomas Lindquist Olsen (14/14) Nov 22 2008 Content-Disposition: inline
- Vermi (28/41) Nov 22 2008 But 64bit support on *Windows* is probably not gonna happen in any near
- Nick Sabalausky (7/14) Nov 22 2008 I suppose I'm getting a bit behind the tech curve here, but is there a
- Nick Sabalausky (5/20) Nov 22 2008 "...already-ridiculously-fast..."
- Daniel de Kok (5/7) Nov 23 2008 Quite often when you need to work with large data sets with iterative
- Andrei Alexandrescu (5/14) Nov 23 2008 Absolutely! Also I'll say computing is ridiculously fast when it's many
- Lutger (7/15) Nov 22 2008 The dmd backend is 32-bit only. From what I understand of it, it's quite...
- Vermi (4/22) Nov 22 2008 I tried to build a custom version of GDC (64bits) based on Mingw-w64, bu...
Hi, I'm wondering : why the D compiler can't produce x86_64 code ? All seems to be ready in the langage for 64 bits. I need to produce a .dll file in both 32 and 64 bits, but I can't. Will we see soon a 64 bits version of the D Compiler or should I re-write my apps in C++ ? + Vermi
Nov 22 2008
22.11.08 в 15:21 Vermi в своём письме писал(а):Hi, I'm wondering : why the D compiler can't produce x86_64 code ? All seems to be ready in the langage for 64 bits. I need to produce a .dll file in both 32 and 64 bits, but I can't. Will we see soon a 64 bits version of the D Compiler or should I re-write my apps in C++ ? + VermiThere is a LLVM D compiler (LDC for short) in works: http://dsource.org/projects/ldc/ which will be able to do what you wants once it is released.
Nov 22 2008
Content-Disposition: inline T24gU2F0LCBOb3YgMjIsIDIwMDggYXQgMToyNSBQTSwgRGVuaXMgS29yb3NraW4gPDJrb3JkZW5A Z21haWwuY29tPiB3cm90ZToKCj4gMjIuMTEuMDgg0LIgMTU6MjEgVmVybWkg0LIg0YHQstC+0ZHQ vCDQv9C40YHRjNC80LUg0L/QuNGB0LDQuyjQsCk6Cj4KPiAgSGksCj4+IEknbSB3b25kZXJpbmcg OiB3aHkgdGhlIEQgY29tcGlsZXIgY2FuJ3QgcHJvZHVjZSB4ODZfNjQgY29kZSA/IEFsbCBzZWVt cwo+PiB0byBiZSByZWFkeSBpbiB0aGUgbGFuZ2FnZSBmb3IgNjQgYml0cy4gSSBuZWVkIHRvIHBy b2R1Y2UgYSAuZGxsIGZpbGUgaW4KPj4gYm90aCAzMiBhbmQgNjQgYml0cywgYnV0IEkgY2FuJ3Qu IFdpbGwgd2Ugc2VlIHNvb24gYSA2NCBiaXRzIHZlcnNpb24gb2YgdGhlCj4+IEQgQ29tcGlsZXIg b3Igc2hvdWxkIEkgcmUtd3JpdGUgbXkgYXBwcyBpbiBDKysgPwo+Pgo+PiBAKwo+PiBWZXJtaQo+ Pgo+Cj4gVGhlcmUgaXMgYSBMTFZNIEQgY29tcGlsZXIgKExEQyBmb3Igc2hvcnQpIGluIHdvcmtz Ogo+IGh0dHA6Ly9kc291cmNlLm9yZy9wcm9qZWN0cy9sZGMvCj4KPiB3aGljaCB3aWxsIGJlIGFi bGUgdG8gZG8gd2hhdCB5b3Ugd2FudHMgb25jZSBpdCBpcyByZWxlYXNlZC4KPgoKQnV0IDY0Yml0 IHN1cHBvcnQgb24gKldpbmRvd3MqIGlzIHByb2JhYmx5IG5vdCBnb25uYSBoYXBwZW4gaW4gYW55 IG5lYXIKZnV0dXJlCgotVG9tYXMK
Nov 22 2008
Tomas Lindquist Olsen Wrote: On Sat, Nov 22, 2008 at 1:25 PM, Denis Koroskin <2korden gmail.com> wrote:22.11.08 в 15:21 Vermi в своём письме писал(а): Hi,But 64bit support on *Windows* is probably not gonna happen in any near future -Tomas On Sat, Nov 22, 2008 at 1:25 PM, Denis Koroskin <span dir="ltr"><<a href="mailto:2korden gmail.com">2korden gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> 22.11.08 в 15:21 Vermi в своём письме писал(а):<div class="Ih2E3d"><br> <br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hi,<br> I'm wondering : why the D compiler can't produce x86_64 code ? All seems to be ready in the langage for 64 bits. I need to produce a .dll file in both 32 and 64 bits, but I can't. Will we see soon a 64 bits version of the D Compiler or should I re-write my apps in C++ ?<br> <br> +<br> Vermi<br> </blockquote> <br></div> There is a LLVM D compiler (LDC for short) in works:<br> <a href="http://dsource.org/projects/ldc/" target="_blank">http://dsource.org/projects/ldc/</a><br> <br> which will be able to do what you wants once it is released.<br> </blockquote></div><br>But 64bit support on *Windows* is probably not gonna happen in any near future<br><br>-Tomas<br> There is a reason for 64 bits support. First : 64 bit support on windows is up, I'm using vista (*sight* for development purpose :/) 64 bits, it is fully functionnal. I'm writing a taskbar replacement for the shell, and I need to use a hook to build application thumbs on Windows XP. The problem is : A hook in a 32 bits dll can hook only 32 bits process. A hook in a 64 bits dll can hook only 64 bits process. I want my task bar to run on both 32 and 64 bits platforms, so I need a 64 bit version of my dll. Here is my problem. Thanks for the link to ldc, I didn't knew about it.I'm wondering : why the D compiler can't produce x86_64 code ? All seems to be ready in the langage for 64 bits. I need to produce a .dll file in both 32 and 64 bits, but I can't. Will we see soon a 64 bits version of the D Compiler or should I re-write my apps in C++ ? + VermiThere is a LLVM D compiler (LDC for short) in works: http://dsource.org/projects/ldc/ which will be able to do what you wants once it is released.
Nov 22 2008
"Vermi" <moi vermi.fr> wrote in message news:gg8tgf$1077$1 digitalmars.com...Hi, I'm wondering : why the D compiler can't produce x86_64 code ? All seems to be ready in the langage for 64 bits. I need to produce a .dll file in both 32 and 64 bits, but I can't. Will we see soon a 64 bits version of the D Compiler or should I re-write my apps in C++ ? + VermiI suppose I'm getting a bit behind the tech curve here, but is there a reason to compile to x86_64 other than just to speed things up on the already-rediculously-fact 64-bit processors? (or to access more than 4GB of ram, but then, how often does anyone need to write an app that needs to do that?)
Nov 22 2008
"Nick Sabalausky" <a a.a> wrote in message news:gg8vk9$1gvd$1 digitalmars.com..."Vermi" <moi vermi.fr> wrote in message news:gg8tgf$1077$1 digitalmars.com..."...already-ridiculously-fast..." Sorry, momentarily forgot my newsgroup client doesn't have spellcheck (not that it would help with "fact" vs "fast")Hi, I'm wondering : why the D compiler can't produce x86_64 code ? All seems to be ready in the langage for 64 bits. I need to produce a .dll file in both 32 and 64 bits, but I can't. Will we see soon a 64 bits version of the D Compiler or should I re-write my apps in C++ ? + VermiI suppose I'm getting a bit behind the tech curve here, but is there a reason to compile to x86_64 other than just to speed things up on the already-rediculously-fact 64-bit processors? (or to access more than 4GB of ram, but then, how often does anyone need to write an app that needs to do that?)
Nov 22 2008
On Sat, 22 Nov 2008 07:58:08 -0500, Nick Sabalausky wrote:(or to access more than 4GB of ram, but then, how often does anyone need to write an app that needs to do that?)Quite often when you need to work with large data sets with iterative algorithms where reloading data is to costly. Take care, Daniel
Nov 23 2008
Daniel de Kok wrote:On Sat, 22 Nov 2008 07:58:08 -0500, Nick Sabalausky wrote:Absolutely! Also I'll say computing is ridiculously fast when it's many orders of magnitude faster than the human at any task. We're so far from that, it's not even funny. Andrei(or to access more than 4GB of ram, but then, how often does anyone need to write an app that needs to do that?)Quite often when you need to work with large data sets with iterative algorithms where reloading data is to costly. Take care, Daniel
Nov 23 2008
Vermi wrote:Hi, I'm wondering : why the D compiler can't produce x86_64 code ? All seems to be ready in the langage for 64 bits. I need to produce a .dll file in both 32 and 64 bits, but I can't. Will we see soon a 64 bits version of the D Compiler or should I re-write my apps in C++ ? + VermiThe dmd backend is 32-bit only. From what I understand of it, it's quite a lot of work making a 64 backend and not enough of a priority for Walter Bright. The only D compiler I know of that can produce 64-bit code is GDC. I don't know if there is, or if it's possible to build a 64-bit version of GDC for windows though.
Nov 22 2008
Lutger Wrote:Vermi wrote:I tried to build a custom version of GDC (64bits) based on Mingw-w64, but I don't know enough thoses projets to make it a success. I will try ldc, and if it not sufficient, I'll try to make another version of my code in C++. + VermiHi, I'm wondering : why the D compiler can't produce x86_64 code ? All seems to be ready in the langage for 64 bits. I need to produce a .dll file in both 32 and 64 bits, but I can't. Will we see soon a 64 bits version of the D Compiler or should I re-write my apps in C++ ? + VermiThe dmd backend is 32-bit only. From what I understand of it, it's quite a lot of work making a 64 backend and not enough of a priority for Walter Bright. The only D compiler I know of that can produce 64-bit code is GDC. I don't know if there is, or if it's possible to build a 64-bit version of GDC for windows though.
Nov 22 2008