Re: Usability of D on windows?

2016-08-25 Thread John Burton via Digitalmars-d
On Thursday, 25 August 2016 at 20:47:28 UTC, David Nadlinger wrote: On Thursday, 25 August 2016 at 20:31:59 UTC, John Burton wrote: I'll try to get a self contained report tomorrow. Please do – the -deps switch is certainly not the most well-tested part of LDC. It mostly inherits this part

Re: Usability of D on windows?

2016-08-25 Thread David Nadlinger via Digitalmars-d
On Thursday, 25 August 2016 at 20:31:59 UTC, John Burton wrote: I'll try to get a self contained report tomorrow. Please do – the -deps switch is certainly not the most well-tested part of LDC. It mostly inherits this part of the code from DMD, but there might be a subtle, unintentional

Re: Usability of D on windows?

2016-08-25 Thread John Burton via Digitalmars-d
On Thursday, 25 August 2016 at 11:52:51 UTC, Kagamin wrote: On Thursday, 25 August 2016 at 09:57:28 UTC, John Burrton wrote: I'll try to find a small test case that crashes the compiler in visual D and check out what version I'm using etc, and submit a bug report if I am able. Did you try to

Re: Usability of D on windows?

2016-08-25 Thread Kagamin via Digitalmars-d
On Thursday, 25 August 2016 at 09:57:28 UTC, John Burrton wrote: I'll try to find a small test case that crashes the compiler in visual D and check out what version I'm using etc, and submit a bug report if I am able. Did you try to get error messages from LDC? IIRC it will print colored

Re: Usability of D on windows?

2016-08-25 Thread John Burrton via Digitalmars-d
On Thursday, 25 August 2016 at 06:08:50 UTC, kinke wrote: On Wednesday, 24 August 2016 at 21:13:45 UTC, Guillaume Piolat wrote: A minor problem is that on Windows users expect both x86 and x86_64 builds so one has to juggle with the 2 LDC PATH to release both. I've said this thrice already and

Re: Usability of D on windows?

2016-08-25 Thread kinke via Digitalmars-d
On Wednesday, 24 August 2016 at 21:13:45 UTC, Guillaume Piolat wrote: A minor problem is that on Windows users expect both x86 and x86_64 builds so one has to juggle with the 2 LDC PATH to release both. I've said this thrice already and it's quite minor really. There's a multilib edition for

Re: Usability of D on windows?

2016-08-24 Thread Guillaume Piolat via Digitalmars-d
On Wednesday, 24 August 2016 at 08:23:26 UTC, kink wrote: I've been working on LDC for a couple of years (focusing on Windows), mainly because I want to be able to replace C++ at work at some point. Instead of waiting for others to fix it, I realized one needs to get involved to push things

Re: Usability of D on windows?

2016-08-24 Thread rikki cattermole via Digitalmars-d
On 25/08/2016 12:54 AM, Kagamin wrote: On Tuesday, 23 August 2016 at 22:30:29 UTC, John Burton wrote: Interestingly I found that LDC is crashing when I compile my code from visual D but not from the command line. I probably use LDC since it appeared and never seen it crash, but I compile from

Re: Usability of D on windows?

2016-08-24 Thread Kagamin via Digitalmars-d
On Tuesday, 23 August 2016 at 22:30:29 UTC, John Burton wrote: Interestingly I found that LDC is crashing when I compile my code from visual D but not from the command line. I probably use LDC since it appeared and never seen it crash, but I compile from command line.

Re: Usability of D on windows?

2016-08-24 Thread Chris via Digitalmars-d
On Wednesday, 24 August 2016 at 08:23:26 UTC, kink wrote: I've been working on LDC for a couple of years (focusing on Windows), mainly because I want to be able to replace C++ at work at some point. Instead of waiting for others to fix it, I realized one needs to get involved to push things

Re: Usability of D on windows?

2016-08-24 Thread kink via Digitalmars-d
I managed to find and install LDC, and that mostly, somewhat works. Except that half the time the compiler crashes with a stack trace, and sometimes it just hangs. Occasionally if I move and rearrange the code it will manage to compile it. There are also worrying comments on the LDC web page

Re: Usability of D on windows?

2016-08-23 Thread Joakim via Digitalmars-d
On Tuesday, 23 August 2016 at 21:15:40 UTC, John Burton wrote: I'm like an honest opinion... Am I wasting my time trying to do this project in D on Windows? I'll continue to use and support the language but I don't want to fight a losing battle and end up having to move away anyway... Is

Re: Usability of D on windows?

2016-08-23 Thread Sean Campbell via Digitalmars-d
On Tuesday, 23 August 2016 at 21:15:40 UTC, John Burton wrote: I've recently gone back to looking at D and like what I see. I've mostly been looking at it on Linux where it seems efficient and stable. [...] A MingW version of GDC can be found here: http://botcode.net/gdc-5.2.0+2.066.1.7z

Re: Usability of D on windows?

2016-08-23 Thread John Burton via Digitalmars-d
On Tuesday, 23 August 2016 at 22:15:33 UTC, John Colvin wrote: If you have no patience for any bugs and must have the best optimised code on windows, D isn't quite there yet. However, if you can stomach a little pain, the reward is pretty good. P.S. relying on the microsoft linker is not much

Re: Usability of D on windows?

2016-08-23 Thread Seb via Digitalmars-d
On Tuesday, 23 August 2016 at 21:15:40 UTC, John Burton wrote: Is there a stable LDC, or is there possibly something wrong with my install? Is LDC sufficiently working to use for "production"? Forgot the part about the struggling fight of LDC. Their development has caught up quite a lot

Re: Usability of D on windows?

2016-08-23 Thread John Colvin via Digitalmars-d
On Tuesday, 23 August 2016 at 21:15:40 UTC, John Burton wrote: Except that half the time the compiler crashes with a stack trace, and sometimes it just hangs. Occasionally if I move and rearrange the code it will manage to compile it. There are also worrying comments on the LDC web page about

Re: Usability of D on windows?

2016-08-23 Thread Cauterite via Digitalmars-d
On Tuesday, 23 August 2016 at 21:37:57 UTC, John Burton wrote: Although they have windows as a host it says that the target is arm-linux-gnueabi so I assumed they were cross compilers? I heard that GDC worked with MinGW at some point in the past, so it may still be feasible without

Re: Usability of D on windows?

2016-08-23 Thread Adam D. Ruppe via Digitalmars-d
On Tuesday, 23 August 2016 at 21:37:57 UTC, John Burton wrote: Although they have windows as a host it says that the target is arm-linux-gnueabi so I assumed they were cross compilers? geeze, you're right. I thought they used to have it. I always just use dmd on windows anyway myself.

Re: Usability of D on windows?

2016-08-23 Thread Cauterite via Digitalmars-d
On Tuesday, 23 August 2016 at 21:36:12 UTC, John Burton wrote: It might be fast enough though so I could try it. Remember, if you don't like the compiler's output, you can always substitute it with your own (inline assembly!). Incidentally I'm in the process of fixing a number of IASM bugs

Re: Usability of D on windows?

2016-08-23 Thread John Burton via Digitalmars-d
On Tuesday, 23 August 2016 at 21:29:31 UTC, Adam D. Ruppe wrote: On Tuesday, 23 August 2016 at 21:15:40 UTC, John Burton wrote: If there a GDC port to windows at all? It seems there is, but if there is it's well hidden... It is at the bottom of the downloads page.

Re: Usability of D on windows?

2016-08-23 Thread John Burton via Digitalmars-d
On Tuesday, 23 August 2016 at 21:25:29 UTC, Cauterite wrote: On Tuesday, 23 August 2016 at 21:15:40 UTC, John Burton wrote: Well, you're fighting a losing battle by trying to use GDC/LDC on Windows, since Windows is priority #2 for D, and GDC/LDC are still struggling with priority #1

Re: Usability of D on windows?

2016-08-23 Thread Adam D. Ruppe via Digitalmars-d
On Tuesday, 23 August 2016 at 21:15:40 UTC, John Burton wrote: If there a GDC port to windows at all? It seems there is, but if there is it's well hidden... It is at the bottom of the downloads page. https://gdcproject.org/downloads

Re: Usability of D on windows?

2016-08-23 Thread Cauterite via Digitalmars-d
On Tuesday, 23 August 2016 at 21:15:40 UTC, John Burton wrote: Well, you're fighting a losing battle by trying to use GDC/LDC on Windows, since Windows is priority #2 for D, and GDC/LDC are still struggling with priority #1 (Linux). You make the Digital Mars backend sound unusable, but I