[Issue 16550] Generic SIMD shuffle for Mir

2016-11-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16550 --- Comment #4 from Walter Bright --- I also cannot find any documentation on extractRe() and extractIm(). I googled for "ldc extractre extractim" and there were no results. --

[Issue 16550] Generic SIMD shuffle for Mir

2016-11-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16550 --- Comment #3 from Walter Bright --- The example does not compile with gdc. --

A curated list of links related to D (github/awesome D)

2016-11-15 Thread Picaud Vincent via Digitalmars-d-learn
Maybe interesting (hoping it is not too redundant with the links here) https://github.com/zhaopuming/awesome-d Vincent

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

[Issue 16558] [Mir] Generic unaligned load/store like (like LDC loadUnaligned and storeUnaligned)

2016-11-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16558 --- Comment #9 from Walter Bright --- https://github.com/dlang/druntime/pull/1693 --

Re: DConf 2017: Bigger, Badder, and Berliner! Call for Submissions now open

2016-11-15 Thread xtreak via Digitalmars-d-announce
On Monday, 14 November 2016 at 19:49:26 UTC, Andrei Alexandrescu wrote: Please join us at DConf 2017, the conference of the D programming language in Berlin, Germany, May 4-6 2017. We're happy to announce that the D Language Foundation is cooperating again with Sociomantic to organize DConf

[Issue 16693] New: Update DConf 2017 announcement on dlang.org

2016-11-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16693 Issue ID: 16693 Summary: Update DConf 2017 announcement on dlang.org Product: D Version: D2 Hardware: x86 OS: Mac OS X Status: NEW Severity: enhancement

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

[Issue 16692] New: New debug experience: possible to execute pure functions during expression evaluation?

2016-11-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16692 Issue ID: 16692 Summary: New debug experience: possible to execute pure functions during expression evaluation? Product: D Version: D2 Hardware: x86_64 OS:

[Issue 16691] New: New debug experience: hovering over a string function argument doesn't display the string

2016-11-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16691 Issue ID: 16691 Summary: New debug experience: hovering over a string function argument doesn't display the string Product: D Version: D2 Hardware: x86_64 OS:

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?

Unable To Install Debian Package on Deepin Linux (Debian Jessie)

2016-11-15 Thread azzuwan via Digitalmars-d-learn
It seems that /usr/bin/dman is currently used by deepin-manual. Is there anyway to get around this? Link to the screenshot: https://1drv.ms/i/s!AtF769jLRRhO61Of6g3ZIBl8uZAk

[Issue 16690] New: New debug experience: "Children could not be evaluated" popup with zero length slices (ie, null ptr)

2016-11-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16690 Issue ID: 16690 Summary: New debug experience: "Children could not be evaluated" popup with zero length slices (ie, null ptr) Product: D Version: D2

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

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

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.

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

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

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

Re: an extremely naive question regarding synchronized...

2016-11-15 Thread Steven Schveighoffer via Digitalmars-d-learn
On 11/15/16 3:05 PM, Kapps wrote: Keep in mind, this is only slow for such a large amount of calls. If you're calling this only a hundred times a second, then who cares if it's slower. After all, with GDC we were looking at 1 billion calls in 21 seconds. That's 47,000 calls per *millisecond*.

Re: an extremely naive question regarding synchronized...

2016-11-15 Thread Kapps via Digitalmars-d-learn
On Monday, 14 November 2016 at 17:43:37 UTC, WhatMeWorry wrote: I was reading this fasciniating article: https://davesdprogramming.wordpress.com/2013/05/06/low-lock-singletons/ And to quote a section of it: - static MySingleton get() {

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

[Issue 4577] Third way to create a std.typecons.Tuple

2016-11-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4577 Andrei Alexandrescu changed: What|Removed |Added Status|ASSIGNED|RESOLVED

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.

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

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:

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)

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),

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,

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

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,

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

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

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: The return of std.algorithm.find

2016-11-15 Thread Steven Schveighoffer via Digitalmars-d-learn
On 11/15/16 4:43 AM, RazvanN wrote: The find function which receives an input haystack and a needle returns the haystack advanced to the first occurrence of the needle. For normal ranges this is fine, but for sorted ranges (aka SortedRange) it is a bit odd. For example: find(assumeSorted[1, 2,

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

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

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

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

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

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

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

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

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

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

Re: DConf 2017: Bigger, Badder, and Berliner! Call for Submissions now open

2016-11-15 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 11/15/16 5:51 AM, Adrian Matoga wrote: On Monday, 14 November 2016 at 19:49:26 UTC, Andrei Alexandrescu wrote: We're happy to announce that the D Language Foundation is cooperating again with Sociomantic to organize DConf 2017 in Berlin for the second time. Same location, same dates, but of

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

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.

vibed ssl stream and SSL_CTX_set_default_verify_paths

2016-11-15 Thread ikod via Digitalmars-d-learn
Hello, Sorry if this is FAQ, or any other way stupid question, e.t.c. I have to configure vibe.d tlsstream to verify remote certificate. Please correct me if I'm wrong -- here is part of my code to request certificate verification: auto sslctx = createTLSContext(TLSContextKind.client);

[Issue 16688] DMD needs to work with the MSC build tools distribution

2016-11-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16688 --- Comment #1 from ki...@gmx.net --- LDC already detects it. The registry keys to be looked into (supporting both VS and the Build Tools alone) can be found here: https://github.com/ldc-developers/ldc/blob/master/vcbuild/msvcEnv.bat --

Re: The return of std.algorithm.find

2016-11-15 Thread Stefan Koch via Digitalmars-d-learn
On Tuesday, 15 November 2016 at 09:50:40 UTC, RazvanN wrote: On Tuesday, 15 November 2016 at 09:43:27 UTC, RazvanN wrote: The find function which receives an input haystack and a needle returns the haystack advanced to the first occurrence of the needle. For normal ranges this is fine, but for

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

[Issue 4851] Three suggestions for std.random

2016-11-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4851 --- Comment #10 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/783d15bfa0e55d753999e7cc38236763c6b95092 enhancement issue 4851: add choice function to

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

[Issue 16689] New: Errors in instantiated mixin templates should show instantiation point

2016-11-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16689 Issue ID: 16689 Summary: Errors in instantiated mixin templates should show instantiation point Product: D Version: D2 Hardware: All OS: All Status:

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

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.

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.

[Issue 4577] Third way to create a std.typecons.Tuple

2016-11-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4577 Nick Treleaven changed: What|Removed |Added CC||n...@geany.org --- Comment

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

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

Re: DConf 2017: Bigger, Badder, and Berliner! Call for Submissions now open

2016-11-15 Thread HaraldZealot via Digitalmars-d-announce
On Monday, 14 November 2016 at 19:49:26 UTC, Andrei Alexandrescu wrote: Please join us at DConf 2017, the conference of the D programming language in Berlin, Germany, May 4-6 2017. http://dconf.org/2017/index.html Great!

Re: DConf 2017: Bigger, Badder, and Berliner! Call for Submissions now open

2016-11-15 Thread Adrian Matoga via Digitalmars-d-announce
On Monday, 14 November 2016 at 19:49:26 UTC, Andrei Alexandrescu wrote: We're happy to announce that the D Language Foundation is cooperating again with Sociomantic to organize DConf 2017 in Berlin for the second time. Same location, same dates, but of course a whole new experience! (...)

[Issue 16682] [REG 2.072] "privatization" of symbols in std.stdio breaks DFMT

2016-11-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16682 Dicebot changed: What|Removed |Added CC||pub...@dicebot.lv --- Comment

Re: Release D 2.072.0

2016-11-15 Thread Dicebot via Digitalmars-d-announce
On 11/11/2016 09:36 PM, Nick Sabalausky wrote: > On 11/11/2016 08:30 AM, Dicebot wrote: >> On Friday, 11 November 2016 at 13:21:40 UTC, Nick Sabalausky wrote: >>> Run the new dmd. If it fails, either fix your code or go temporarily >>> go back to the old dmd until you can fix your code. >> >> D

Re: Release D 2.072.0

2016-11-15 Thread Dicebot via Digitalmars-d-announce
On 11/12/2016 02:20 PM, Basile B. wrote: > On Monday, 31 October 2016 at 01:27:08 UTC, Martin Nowak wrote: >> Glad to announce D 2.072.0. >> >> http://dlang.org/download.html >> >> This is the release ships with the latest version of dub (v1.1.0), comes >> with lots of phobos additions and native

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

[Issue 16686] Can not spawn subprocess and read from File at same time

2016-11-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16686 Alexander Milushev changed: What|Removed |Added CC||zunk...@gmail.com

Re: The return of std.algorithm.find

2016-11-15 Thread drug via Digitalmars-d-learn
15.11.2016 12:50, RazvanN пишет: On Tuesday, 15 November 2016 at 09:43:27 UTC, RazvanN wrote: The find function which receives an input haystack and a needle returns the haystack advanced to the first occurrence of the needle. For normal ranges this is fine, but for sorted ranges (aka

Re: The return of std.algorithm.find

2016-11-15 Thread Ali Çehreli via Digitalmars-d-learn
On 11/15/2016 01:50 AM, drug wrote: 15.11.2016 12:48, drug пишет: 15.11.2016 12:43, RazvanN пишет: The find function which receives an input haystack and a needle returns the haystack advanced to the first occurrence of the needle. For normal ranges this is fine, but for sorted ranges (aka

Re: The return of std.algorithm.find

2016-11-15 Thread drug via Digitalmars-d-learn
15.11.2016 12:48, drug пишет: 15.11.2016 12:43, RazvanN пишет: The find function which receives an input haystack and a needle returns the haystack advanced to the first occurrence of the needle. For normal ranges this is fine, but for sorted ranges (aka SortedRange) it is a bit odd. For

Re: The return of std.algorithm.find

2016-11-15 Thread RazvanN via Digitalmars-d-learn
On Tuesday, 15 November 2016 at 09:43:27 UTC, RazvanN wrote: The find function which receives an input haystack and a needle returns the haystack advanced to the first occurrence of the needle. For normal ranges this is fine, but for sorted ranges (aka SortedRange) it is a bit odd. For

Re: The return of std.algorithm.find

2016-11-15 Thread drug via Digitalmars-d-learn
15.11.2016 12:43, RazvanN пишет: The find function which receives an input haystack and a needle returns the haystack advanced to the first occurrence of the needle. For normal ranges this is fine, but for sorted ranges (aka SortedRange) it is a bit odd. For example: find(assumeSorted[1, 2, 4,

The return of std.algorithm.find

2016-11-15 Thread RazvanN via Digitalmars-d-learn
The find function which receives an input haystack and a needle returns the haystack advanced to the first occurrence of the needle. For normal ranges this is fine, but for sorted ranges (aka SortedRange) it is a bit odd. For example: find(assumeSorted[1, 2, 4, 5, 6, 7], 4) would return [4, 5,

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.

[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

[Issue 12492] [AA] Clarify what types can be used to get associative array key value

2016-11-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12492 Ali Cehreli changed: What|Removed |Added CC||acehr...@yahoo.com ---

Re: DConf 2017: Bigger, Badder, and Berliner! Call for Submissions now open

2016-11-15 Thread Martin Tschierschke via Digitalmars-d-announce
On Monday, 14 November 2016 at 19:49:26 UTC, Andrei Alexandrescu wrote: Please join us at DConf 2017, the conference of the D programming language in Berlin, Germany, May 4-6 2017. Great news for all living in D and programming in D :-) Please take care to enable early registration now: