Re: D Lang installation on Windows, dependency on Visual Studio?

2016-11-15 Thread Daniel Kozak via Digitalmars-d
Dne 16.11.2016 v 04:17 rikki cattermole via Digitalmars-d napsal(a): On 16/11/2016 3:41 AM, Daniel Kozak via Digitalmars-d wrote: Dne 15.11.2016 v 14:23 AB via Digitalmars-d napsal(a): On Tuesday, 15 November 2016 at 11:28:16 UTC, Kagamin wrote: On Tuesday, 15 November 2016 at 10:31:23 UTC,

Re: D Lang installation on Windows, dependency on Visual Studio?

2016-11-15 Thread rikki cattermole via Digitalmars-d
On 16/11/2016 4:58 PM, Jerry wrote: On Tuesday, 15 November 2016 at 23:34:34 UTC, Jonathan M Davis wrote: On Tuesday, November 15, 2016 16:20:53 AB via Digitalmars-d wrote: On Tuesday, 15 November 2016 at 16:00:48 UTC, kink wrote: > It's not just the linker. You need the libs as well (static >

Re: D Lang installation on Windows, dependency on Visual Studio?

2016-11-15 Thread Jerry via Digitalmars-d
On Tuesday, 15 November 2016 at 23:34:34 UTC, Jonathan M Davis wrote: On Tuesday, November 15, 2016 16:20:53 AB via Digitalmars-d wrote: On Tuesday, 15 November 2016 at 16:00:48 UTC, kink wrote: > It's not just the linker. You need the libs as well (static > and dynamic ones), and not just the

Re: D Lang installation on Windows, dependency on Visual Studio?

2016-11-15 Thread rikki cattermole via Digitalmars-d
On 16/11/2016 3:41 AM, Daniel Kozak via Digitalmars-d wrote: Dne 15.11.2016 v 14:23 AB via Digitalmars-d napsal(a): On Tuesday, 15 November 2016 at 11:28:16 UTC, Kagamin wrote: On Tuesday, 15 November 2016 at 10:31:23 UTC, AB wrote: Are there plans to write a homebrew 64-bit linker for DMD?

Re: PDF generation in D?

2016-11-15 Thread Jot via Digitalmars-d
On Tuesday, 15 November 2016 at 15:23:29 UTC, Adrian Matoga wrote: On Tuesday, 15 November 2016 at 11:13:54 UTC, Jot wrote: On Tuesday, 15 November 2016 at 09:39:09 UTC, Adrian Matoga wrote: On Friday, 11 November 2016 at 09:47:21 UTC, Robert burner Schadek wrote: I used text files and LaTeX in

Re: PDF generation in D?

2016-11-15 Thread lobo via Digitalmars-d
On Tuesday, 15 November 2016 at 15:23:29 UTC, Adrian Matoga wrote: On Tuesday, 15 November 2016 at 11:13:54 UTC, Jot wrote: On Tuesday, 15 November 2016 at 09:39:09 UTC, Adrian Matoga wrote: On Friday, 11 November 2016 at 09:47:21 UTC, Robert burner Schadek wrote: I used text files and LaTeX in

Re: CTFE Status

2016-11-15 Thread Stefan Koch via Digitalmars-d
On Tuesday, 15 November 2016 at 22:50:49 UTC, deadalnix wrote: On Tuesday, 15 November 2016 at 01:35:42 UTC, Stefan Koch wrote: However there is a a bug inside the code that does bounds-checking for array assignment. In rare cases it can trigger a out-bounds-error on newly created arrays. T

Re: D Lang installation on Windows, dependency on Visual Studio?

2016-11-15 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, November 15, 2016 16:20:53 AB via Digitalmars-d wrote: > On Tuesday, 15 November 2016 at 16:00:48 UTC, kink wrote: > > It's not just the linker. You need the libs as well (static and > > dynamic ones), and not just the WinSDK ones, but the MSVCRT > > ones too. > > I was under the impres

Re: CTFE Status

2016-11-15 Thread deadalnix via Digitalmars-d
On Tuesday, 15 November 2016 at 01:35:42 UTC, Stefan Koch wrote: However there is a a bug inside the code that does bounds-checking for array assignment. In rare cases it can trigger a out-bounds-error on newly created arrays. This raise all kind of red flags to me. What are the design deci

Re: CTFE Status

2016-11-15 Thread Nordlöw via Digitalmars-d
On Tuesday, 15 November 2016 at 19:02:29 UTC, Bastiaan Veelo wrote: Nice, Stefan. I always come back to this thread to see your progress. Thanks for making it easy to follow it. I agree.

Re: send doesn't work

2016-11-15 Thread Steven Schveighoffer via Digitalmars-d
On 11/15/16 1:56 PM, unDEFER wrote: On Tuesday, 15 November 2016 at 18:23:16 UTC, Steven Schveighoffer wrote: 1. I'm sure it's not "magic" but likely something you are missing. 2. Nobody here can help you without a working demonstration. i.e., this isn't a known issue, and others have used the c

Re: CTFE Status

2016-11-15 Thread Bastiaan Veelo via Digitalmars-d
On Tuesday, 15 November 2016 at 01:35:42 UTC, Stefan Koch wrote: Two more bullet points cross the border from unsupported to supported. Nice, Stefan. I always come back to this thread to see your progress. Thanks for making it easy to follow it.

Re: send doesn't work

2016-11-15 Thread unDEFER via Digitalmars-d
On Tuesday, 15 November 2016 at 18:23:16 UTC, Steven Schveighoffer wrote: 1. I'm sure it's not "magic" but likely something you are missing. 2. Nobody here can help you without a working demonstration. i.e., this isn't a known issue, and others have used the concurrency subsystem without such p

Re: send doesn't work

2016-11-15 Thread Steven Schveighoffer via Digitalmars-d
On 11/15/16 1:13 PM, unDEFER wrote: Now I'm sending "hello"-message from child thread in the loop every iteration, and the last message again working. What the magic??? The send-subsystem "becomes rotten" if don't use it??? 1. I'm sure it's not "magic" but likely something you are missing. 2. N

Re: send doesn't work

2016-11-15 Thread unDEFER via Digitalmars-d
On Tuesday, 15 November 2016 at 18:11:38 UTC, Daniel Kozak wrote: Yous should post this into Learn news group not in General. And it would be better if you provided full (not)working example. If the problem will appears again I will try to make short not working example.. and I guess you h

Re: Intresa in Static Analysis for D ?

2016-11-15 Thread Basile B. via Digitalmars-d
On Tuesday, 15 November 2016 at 16:57:44 UTC, Basile B. wrote: On Tuesday, 15 November 2016 at 16:53:42 UTC, Stefan Koch wrote: On Tuesday, 15 November 2016 at 16:50:47 UTC, Basile B. wrote: p you dont get the point. The point is when an IDE message leads you to this: http://imgur.com/a/6z

Re: send doesn't work

2016-11-15 Thread unDEFER via Digitalmars-d
On Tuesday, 15 November 2016 at 18:12:32 UTC, Steven Schveighoffer wrote: Without more complete code, it's difficult to say what is happening. -Steve Code is big. I of course can return to the question when the code will available on the git. But now it is not available.

Re: send doesn't work

2016-11-15 Thread unDEFER via Digitalmars-d
Now I'm sending "hello"-message from child thread in the loop every iteration, and the last message again working. What the magic??? The send-subsystem "becomes rotten" if don't use it???

Re: send doesn't work

2016-11-15 Thread Steven Schveighoffer via Digitalmars-d
On 11/15/16 11:36 AM, unDEFER wrote: Hello! In my thread I'm sending the Tid of the thread to the parent to inform it about finishing: send(tid, thisTid); The parent thread has the next code to receive it and handle: receiveTimeout( dur!"hnsecs"(1), (Tid tid) {//t

Re: send doesn't work

2016-11-15 Thread Daniel Kozak via Digitalmars-d
Dne 15.11.2016 v 17:36 unDEFER via Digitalmars-d napsal(a): Hello! In my thread I'm sending the Tid of the thread to the parent to inform it about finishing: send(tid, thisTid); The parent thread has the next code to receive it and handle: receiveTimeout( dur!"hnsecs"(1), (Tid

Re: [OT] D Lang installation on Windows, dependency on Visual Studio?

2016-11-15 Thread Vladimir Panteleev via Digitalmars-d
On Tuesday, 15 November 2016 at 17:31:04 UTC, Nick Sabalausky wrote: I don't really use emacs, and (thought I admit I'm not 100% certain), I don't think much of what I use launches (or at least needs to launch) separate commands for each keypress (sounds like bad software engineering to me, but

Re: [OT] D Lang installation on Windows, dependency on Visual Studio?

2016-11-15 Thread Nick Sabalausky via Digitalmars-d
On 11/15/2016 03:33 AM, Vladimir Panteleev wrote: On Monday, 14 November 2016 at 16:59:56 UTC, Nick Sabalausky wrote: the ONLY time I ever have speed issues "Speed issues" is one thing. Having most operations be INSTANT is another. It MASSIVELY transforms your workflow; UIs where each key pres

Re: [OT] D Lang installation on Windows, dependency on Visual Studio?

2016-11-15 Thread Vladimir Panteleev via Digitalmars-d
On Tuesday, 15 November 2016 at 17:23:56 UTC, Nick Sabalausky wrote: I mean "too small at reasonable prices". If you keep your photos/movies/music/backups/installers/etc. on spinning rust (where they belong), and aren't living in poverty, it's not. A 250GB Samsung 850 EVO is under $100, which

Re: GitHub now supports editing the target branch for PR

2016-11-15 Thread Nick Sabalausky via Digitalmars-d
On 11/15/2016 06:33 AM, Dicebot wrote: On 11/12/2016 12:34 PM, Sönke Ludwig wrote: Not sure if this is common knowledge already, but it was new for me. If you click the edit button at the top of a pull request on GitHub, you now get a drop down to change the base branch to which the request will

Re: [OT] D Lang installation on Windows, dependency on Visual Studio?

2016-11-15 Thread Nick Sabalausky via Digitalmars-d
On 11/15/2016 03:33 AM, Vladimir Panteleev wrote: On Monday, 14 November 2016 at 16:59:56 UTC, Nick Sabalausky wrote: SSDs are still far too small. Hmm... http://arstechnica.com/gadgets/2016/08/seagate-unveils-60tb-ssd-the-worlds-largest-hard-drive/ I mean "too small at reasonable prices".

Re: interest in Static Analysis for D ?

2016-11-15 Thread Stefan Koch via Digitalmars-d
On Tuesday, 15 November 2016 at 16:59:49 UTC, Dicebot wrote: On 11/15/2016 06:46 PM, Stefan Koch wrote: On Tuesday, 15 November 2016 at 16:39:22 UTC, Dicebot wrote: [ ] But I'd sincerely advise against any ad-hoc solution that is built into DMD itself. It seems I did not clearly state

Re: interest in Static Analysis for D ?

2016-11-15 Thread Dicebot via Digitalmars-d
On 11/15/2016 06:46 PM, Stefan Koch wrote: > On Tuesday, 15 November 2016 at 16:39:22 UTC, Dicebot wrote: >> [ ] >> But I'd sincerely advise against any ad-hoc solution that is built >> into DMD itself. > > It seems I did not clearly state this. > I mean to provide the general plumbing that i

Re: Intresa in Static Analysis for D ?

2016-11-15 Thread Basile B. via Digitalmars-d
On Tuesday, 15 November 2016 at 16:53:42 UTC, Stefan Koch wrote: On Tuesday, 15 November 2016 at 16:50:47 UTC, Basile B. wrote: p you dont get the point. The point is when an IDE message leads you to this: http://imgur.com/a/6zLHU I really don't get it. What is actionable about that metri

Re: Intresa in Static Analysis for D ?

2016-11-15 Thread Stefan Koch via Digitalmars-d
On Tuesday, 15 November 2016 at 16:50:47 UTC, Basile B. wrote: p you dont get the point. The point is when an IDE message leads you to this: http://imgur.com/a/6zLHU I really don't get it. What is actionable about that metric ?

Re: Intresa in Static Analysis for D ?

2016-11-15 Thread Basile B. via Digitalmars-d
On Tuesday, 15 November 2016 at 16:38:39 UTC, Stefan Koch wrote: On Tuesday, 15 November 2016 at 16:28:30 UTC, Basile B. wrote: On Tuesday, 15 November 2016 at 14:45:29 UTC, Stefan Koch wrote: Hi Guys, I was wondering how much interest in static analysis exists in this community . DMD alread

Re: interest in Static Analysis for D ?

2016-11-15 Thread Stefan Koch via Digitalmars-d
On Tuesday, 15 November 2016 at 16:39:22 UTC, Dicebot wrote: [ ] But I'd sincerely advise against any ad-hoc solution that is built into DMD itself. It seems I did not clearly state this. I mean to provide the general plumbing that is needed for the dmd-fe, to utilize it for static anal

Re: D Lang installation on Windows, dependency on Visual Studio?

2016-11-15 Thread kink via Digitalmars-d
On Tuesday, 15 November 2016 at 16:20:53 UTC, AB wrote: On Tuesday, 15 November 2016 at 16:00:48 UTC, kink wrote: It's not just the linker. You need the libs as well (static and dynamic ones), and not just the WinSDK ones, but the MSVCRT ones too. I was under the impression that DMD for Windo

Re: D Lang installation on Windows, dependency on Visual Studio?

2016-11-15 Thread Rene Zwanenburg via Digitalmars-d
On Tuesday, 15 November 2016 at 16:20:53 UTC, AB wrote: Hopefully, future releases of DMD will fix this inconsistency by requiring Visual Studio for 32-bit D programs as well. You already do, if you compile with -m32mscoff.

Re: interest in Static Analysis for D ?

2016-11-15 Thread Dicebot via Digitalmars-d
On 11/15/2016 04:57 PM, Stefan Koch wrote: > On Tuesday, 15 November 2016 at 14:45:29 UTC, Stefan Koch wrote: >> Hi Guys, >> >> I was wondering how much interest in static analysis exists in this >> community . >> DMD already has rudimentary support for these kinds of things. I'd put it in a diffe

Re: Intresa in Static Analysis for D ?

2016-11-15 Thread Stefan Koch via Digitalmars-d
On Tuesday, 15 November 2016 at 16:28:30 UTC, Basile B. wrote: On Tuesday, 15 November 2016 at 14:45:29 UTC, Stefan Koch wrote: Hi Guys, I was wondering how much interest in static analysis exists in this community . DMD already has rudimentary support for these kinds of things. cyclic comp

send doesn't work

2016-11-15 Thread unDEFER via Digitalmars-d
Hello! In my thread I'm sending the Tid of the thread to the parent to inform it about finishing: send(tid, thisTid); The parent thread has the next code to receive it and handle: receiveTimeout( dur!"hnsecs"(1), (Tid tid) {//the message from child thread handler

Re: Intresa in Static Analysis for D ?

2016-11-15 Thread Basile B. via Digitalmars-d
On Tuesday, 15 November 2016 at 14:45:29 UTC, Stefan Koch wrote: Hi Guys, I was wondering how much interest in static analysis exists in this community . DMD already has rudimentary support for these kinds of things. cyclic complexity NPath complexity Halstead complexity 3 nice fields of st

Re: D Lang installation on Windows, dependency on Visual Studio?

2016-11-15 Thread AB via Digitalmars-d
On Tuesday, 15 November 2016 at 16:00:48 UTC, kink wrote: It's not just the linker. You need the libs as well (static and dynamic ones), and not just the WinSDK ones, but the MSVCRT ones too. I was under the impression that DMD for Windows was (meant to be) self-sufficient. I must have been m

Re: interest in Static Analysis for D ?

2016-11-15 Thread ketmar via Digitalmars-d
On Tuesday, 15 November 2016 at 15:33:30 UTC, Stefan Koch wrote: On Tuesday, 15 November 2016 at 15:28:14 UTC, ketmar wrote: if it will be independent utility -- yes. dmdfe part -- no. It would relay on the parser of the dmdfe, and parts of dmd's semantic analysis. DMD will be much nicer to

Re: D Lang installation on Windows, dependency on Visual Studio?

2016-11-15 Thread kink via Digitalmars-d
On Tuesday, 15 November 2016 at 13:23:38 UTC, AB wrote: On Tuesday, 15 November 2016 at 11:28:16 UTC, Kagamin wrote: On Tuesday, 15 November 2016 at 10:31:23 UTC, AB wrote: Are there plans to write a homebrew 64-bit linker for DMD? There are already ld from mingw and lld from llvm team. Why

Re: interest in Static Analysis for D ?

2016-11-15 Thread Stefan Koch via Digitalmars-d
On Tuesday, 15 November 2016 at 15:28:14 UTC, ketmar wrote: if it will be independent utility -- yes. dmdfe part -- no. It would relay on the parser of the dmdfe, and parts of dmd's semantic analysis. DMD will be much nicer to work with the facility envision. As I see it there is little reas

Re: interest in Static Analysis for D ?

2016-11-15 Thread ketmar via Digitalmars-d
if it will be independent utility -- yes. dmdfe part -- no.

Re: PDF generation in D?

2016-11-15 Thread Adrian Matoga via Digitalmars-d
On Tuesday, 15 November 2016 at 11:13:54 UTC, Jot wrote: On Tuesday, 15 November 2016 at 09:39:09 UTC, Adrian Matoga wrote: On Friday, 11 November 2016 at 09:47:21 UTC, Robert burner Schadek wrote: I used text files and LaTeX in the past, it works with everything textfile -> process -> LaTeX

Re: interest in Static Analysis for D ?

2016-11-15 Thread Stefan Koch via Digitalmars-d
On Tuesday, 15 November 2016 at 14:45:29 UTC, Stefan Koch wrote: Hi Guys, I was wondering how much interest in static analysis exists in this community . DMD already has rudimentary support for these kinds of things. Whoops I accidentally pressed enter too soon. I am currently working on ex

Intresa in Static Analysis for D ?

2016-11-15 Thread Stefan Koch via Digitalmars-d
Hi Guys, I was wondering how much interest in static analysis exists in this community . DMD already has rudimentary support for these kinds of things.

Re: D Lang installation on Windows, dependency on Visual Studio?

2016-11-15 Thread Daniel Kozak via Digitalmars-d
Dne 15.11.2016 v 14:23 AB via Digitalmars-d napsal(a): On Tuesday, 15 November 2016 at 11:28:16 UTC, Kagamin wrote: On Tuesday, 15 November 2016 at 10:31:23 UTC, AB wrote: Are there plans to write a homebrew 64-bit linker for DMD? There are already ld from mingw and lld from llvm team. Why

Re: D Lang installation on Windows, dependency on Visual Studio?

2016-11-15 Thread AB via Digitalmars-d
On Tuesday, 15 November 2016 at 11:28:16 UTC, Kagamin wrote: On Tuesday, 15 November 2016 at 10:31:23 UTC, AB wrote: Are there plans to write a homebrew 64-bit linker for DMD? There are already ld from mingw and lld from llvm team. Why aren't they used and distributed in DMD for Windows by

Re: Appender bug, or impossible?

2016-11-15 Thread Rainer Schuetze via Digitalmars-d
On 14.11.2016 21:26, Timon Gehr wrote: On 14.11.2016 00:32, Steven Schveighoffer wrote: A Foo[] can be stored in a Foo, because it doesn't need the size. But yes, as soon as you start needing Appender functions, then the compiler chokes. It is a forward reference bug, but still a bug IMO. If

Re: GitHub now supports editing the target branch for PR

2016-11-15 Thread Dicebot via Digitalmars-d
On 11/12/2016 12:34 PM, Sönke Ludwig wrote: > Not sure if this is common knowledge already, but it was new for me. If > you click the edit button at the top of a pull request on GitHub, you > now get a drop down to change the base branch to which the request will > be pulled. Really handy for PRs t

Re: {DMD-AST-Tool} For beginning DDMD hackers

2016-11-15 Thread Dicebot via Digitalmars-d
On 11/13/2016 10:40 AM, Stefan Koch wrote: > On Saturday, 12 November 2016 at 10:26:53 UTC, Stefan Koch wrote: >> Hi Guys, >> >> I have written a small utility called dmd-ast-tool. >> It can be used to quickly generate boilerplate code for dmd-ast-visitors. >> Originally it was only written for my

Re: D Lang installation on Windows, dependency on Visual Studio?

2016-11-15 Thread Kagamin via Digitalmars-d
On Tuesday, 15 November 2016 at 10:31:23 UTC, AB wrote: Are there plans to write a homebrew 64-bit linker for DMD? There are already ld from mingw and lld from llvm team.

Re: PDF generation in D?

2016-11-15 Thread Jot via Digitalmars-d
On Tuesday, 15 November 2016 at 09:39:09 UTC, Adrian Matoga wrote: On Friday, 11 November 2016 at 09:47:21 UTC, Robert burner Schadek wrote: I used text files and LaTeX in the past, it works with everything textfile -> process -> LaTeX -> pdf This. Another (a bit lower-level) option would b

Re: D Lang installation on Windows, dependency on Visual Studio?

2016-11-15 Thread AB via Digitalmars-d
On Monday, 14 November 2016 at 10:20:48 UTC, Kagamin wrote: On Monday, 14 November 2016 at 09:51:39 UTC, John Colvin wrote: Now there is http://landinghub.visualstudio.com/visual-cpp-build-tools, perhaps we should be encouraging using that instead? It's still 3gb, so one might want to delete

Re: PDF generation in D?

2016-11-15 Thread Adrian Matoga via Digitalmars-d
On Friday, 11 November 2016 at 09:47:21 UTC, Robert burner Schadek wrote: I used text files and LaTeX in the past, it works with everything textfile -> process -> LaTeX -> pdf This. Another (a bit lower-level) option would be to produce a PostScript file and pass it to (e)ps2pdf.

Re: Appender bug, or impossible?

2016-11-15 Thread Ali Çehreli via Digitalmars-d
On 11/14/2016 12:26 PM, Timon Gehr wrote: Error with DMD, works with my front end. What are the steps to use your front end instead of dmd's? Is the awesome combo of Timon front-end plus ldc back-end possible? Ali

Re: [OT] D Lang installation on Windows, dependency on Visual Studio?

2016-11-15 Thread Vladimir Panteleev via Digitalmars-d
On Tuesday, 15 November 2016 at 09:02:08 UTC, Kagamin wrote: On Tuesday, 15 November 2016 at 08:33:26 UTC, Vladimir Panteleev wrote: UIs where each key press launches a command (e.g. magit, background builds...) emacs? Yep. Also doesn't dmdfe spend most of its time in semantic analysis?

Re: [OT] D Lang installation on Windows, dependency on Visual Studio?

2016-11-15 Thread Kagamin via Digitalmars-d
On Tuesday, 15 November 2016 at 08:33:26 UTC, Vladimir Panteleev wrote: UIs where each key press launches a command (e.g. magit, background builds...) emacs? Also doesn't dmdfe spend most of its time in semantic analysis? You can't possibly optimize that with IO.

Re: D Lang installation on Windows, dependency on Visual Studio?

2016-11-15 Thread Kagamin via Digitalmars-d
On Monday, 14 November 2016 at 13:44:29 UTC, Patrick Schluter wrote: That's a true issue imho also. I had the same problem. Both my machine at work and at home have their windows system partition on a smallish SSD. You can move stuff from the system drive with symbolic links; e.g. windows\ins

[OT] D Lang installation on Windows, dependency on Visual Studio?

2016-11-15 Thread Vladimir Panteleev via Digitalmars-d
On Monday, 14 November 2016 at 16:59:56 UTC, Nick Sabalausky wrote: SSDs are still far too small. Hmm... http://arstechnica.com/gadgets/2016/08/seagate-unveils-60tb-ssd-the-worlds-largest-hard-drive/ the ONLY time I ever have speed issues "Speed issues" is one thing. Having most operations