[Issue 922] export keyword causes undefined references on linux

2016-11-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=922 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 922] export keyword causes undefined references on linux

2016-11-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=922 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/fdde441cfd341ad573b3dc9b11e994ed55adfe68 Fix issue 922 - Don't mangle exported symbol names on linux.

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

2016-11-14 Thread thedeemon via Digitalmars-d
On Monday, 14 November 2016 at 13:44:29 UTC, Patrick Schluter wrote: Extremely annoying when you only want to install an otherwise extremely lean development tool (dmd) to test 100 liners. But you most probably don't need all that stuff for testing your 100-liners. By default DMD on Windows

[Issue 16488] [spec][optimization] broadcast scalar to simd vector

2016-11-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16488 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/b75ef84208f1cb25878c7977588ceed1fa4e8682 fix Issue 16488 - [spec][optimization] broadcast scalar to

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

2016-11-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16688 Issue ID: 16688 Summary: DMD needs to work with the MSC build tools distribution Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW

[Issue 16687] New: Win COFF: Duplicate COMDAT on overloaded templated function

2016-11-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16687 Issue ID: 16687 Summary: Win COFF: Duplicate COMDAT on overloaded templated function Product: D Version: D2 Hardware: All OS: Windows Status: NEW

Re: CTFE Status

2016-11-14 Thread Stefan Koch via Digitalmars-d
To more bullet points cross the border from unsupported to supported. - assignment to static array cells - long ulong arithmetic. 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.

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

2016-11-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16686 Issue ID: 16686 Summary: Can not spawn subprocess and read from File at same time Product: D Version: D2 Hardware: x86 OS: Mac OS X Status: NEW

Re: an extremely naive question regarding synchronized...

2016-11-14 Thread Steven Schveighoffer via Digitalmars-d-learn
On 11/14/16 12:43 PM, 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() { synchronized { if

[Issue 922] export keyword causes undefined references on linux

2016-11-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=922 Walter Bright changed: What|Removed |Added CC|

Re: Dub with ldc on windows

2016-11-14 Thread Daniel Kozak via Digitalmars-d
Dne 14.11.2016 v 22:38 MrSmith via Digitalmars-d napsal(a): On Monday, 14 November 2016 at 21:16:23 UTC, Daniel Kozak wrote: Is there any plan to support this? Right now I can use dub only with dmd on windows. On linux it works ok. I've used this patch to fix dub with ldc on windows. Works

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

2016-11-14 Thread Daniel Kozak via Digitalmars-d
Dne 14.11.2016 v 21:01 Nick Sabalausky via Digitalmars-d napsal(a): But most importantly: In what alternate 2016 reality is a 250GB drive insufficient to be able to spare 3Gb to install a core dev tool? First it is more than a 3GB, on my windows it has been around 10GB or more for VS and

Re: Dub with ldc on windows

2016-11-14 Thread MrSmith via Digitalmars-d
On Monday, 14 November 2016 at 21:16:23 UTC, Daniel Kozak wrote: Is there any plan to support this? Right now I can use dub only with dmd on windows. On linux it works ok. I've used this patch to fix dub with ldc on windows. Works fine.

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

2016-11-14 Thread fdjfgj via Digitalmars-d
On Monday, 14 November 2016 at 20:01:37 UTC, Nick Sabalausky wrote: On 11/14/2016 01:04 PM, fdjfgj wrote: In 2005 a 250Gb magnetic HDD costed the same as nowadays 250Gb SSD. Eh? 2005 has nothing to do with anything. In 2016, magnetic HDDs are not purchased at 2005 prices. In 2016, a 250GB

Dub with ldc on windows

2016-11-14 Thread Daniel Kozak via Digitalmars-d
Is there any plan to support this? Right now I can use dub only with dmd on windows. On linux it works ok.

Re: Low-level and Hight-level Kafka bindings

2016-11-14 Thread ikod via Digitalmars-d-announce
On Monday, 14 November 2016 at 16:17:33 UTC, Ilya Yaroshenko wrote: Kafka is most reliable distributed log system. It is used as many2many messaging system. # Links C library: https://github.com/edenhill/librdkafka Low-level bindings: https://github.com/DlangApache/librdkafka/ High-level

Re: Appender bug, or impossible?

2016-11-14 Thread Timon Gehr via Digitalmars-d
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 you can store the appender, then the

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

2016-11-14 Thread Nick Sabalausky via Digitalmars-d
On 11/14/2016 01:04 PM, fdjfgj wrote: On Monday, 14 November 2016 at 16:59:56 UTC, Nick Sabalausky wrote: On 11/14/2016 08:44 AM, Patrick Schluter wrote: have their windows system partition on a smallish SSD. Well, in all honestly, that IS going to cause problems regardless. The larger SSDs

Re: Earthquakes - New Zealand

2016-11-14 Thread Nick B via Digitalmars-d
On Monday, 14 November 2016 at 14:25:02 UTC, Meta wrote: On Sunday, 13 November 2016 at 12:17:22 UTC, rikki cattermole wrote: I saw in the news that there was a tsunami and many aftershocks coming after the initial quake. Hope everyone's okay. The top of the south island and Wellington

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

2016-11-14 Thread Andrei Alexandrescu via Digitalmars-d-announce
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 2017 in Berlin for the second time. Same location, same dates, but of

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

2016-11-14 Thread Patrick Schluter via Digitalmars-d
On Monday, 14 November 2016 at 18:04:05 UTC, fdjfgj wrote: On Monday, 14 November 2016 at 16:59:56 UTC, Nick Sabalausky wrote: On 11/14/2016 08:44 AM, Patrick Schluter wrote: have their windows system partition on a smallish SSD. Well, in all honestly, that IS going to cause problems

Re: Third attempt for SUM

2016-11-14 Thread safety0ff via Digitalmars-d
On Sunday, 13 November 2016 at 16:56:30 UTC, Ilya Yaroshenko wrote: BTW, i have implemented sumOfLogs [1], it is more precise then everything else. Thanks, I was going to use 32.64 fixed point for my program but now I think I will get better precision modifying that to use a 32 bit

Re: static array internal & dangling reference

2016-11-14 Thread Picaud Vincent via Digitalmars-d-learn
On Monday, 14 November 2016 at 17:15:43 UTC, Steven Schveighoffer wrote: What has happened is that the stack allocated for f() (and since released) is still referenced by sb[]. In a weird way, since you haven't called any other functions, that data is still "valid"! Thank you for the

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

2016-11-14 Thread fdjfgj via Digitalmars-d
On Monday, 14 November 2016 at 16:59:56 UTC, Nick Sabalausky wrote: On 11/14/2016 08:44 AM, Patrick Schluter wrote: have their windows system partition on a smallish SSD. Well, in all honestly, that IS going to cause problems regardless. The larger SSDs are fine (enough) for a phone, but

an extremely naive question regarding synchronized...

2016-11-14 Thread WhatMeWorry via Digitalmars-d-learn
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() { synchronized { if (instance_ is null) { instance_ =

Re: static array internal & dangling reference

2016-11-14 Thread Steven Schveighoffer via Digitalmars-d-learn
On 11/14/16 12:53 AM, Picaud Vincent wrote: On Sunday, 13 November 2016 at 23:39:37 UTC, Steven Schveighoffer wrote: Note that he is declaring an int[10] inside the function and then returning it. The compiler must see that the int[10] will be returned, and so it reuses the pre-allocated

Re: [jeff]

2016-11-14 Thread jeff via Digitalmars-d
On Monday, 14 November 2016 at 17:11:44 UTC, jeff wrote: jeff you suck nuts scrub that is not a code boi

[jeff]

2016-11-14 Thread jeff via Digitalmars-d
jeff

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

2016-11-14 Thread Nick Sabalausky via Digitalmars-d
On 11/14/2016 04:33 AM, AB wrote: On Monday, 14 November 2016 at 09:06:18 UTC, Kagamin wrote: DMD can generate 64-bit object files just fine, you only need to link them, and DMD can invoke ms linker for you, that's all. It is unreasonable to pull in the many GBs of Visual Studio as a

[Issue 16685] template instantiation rejected when passing member of enum struct in value parameter

2016-11-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16685 ag0ae...@gmail.com changed: What|Removed |Added Keywords||rejects-valid

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

2016-11-14 Thread Nick Sabalausky via Digitalmars-d
On 11/14/2016 08:44 AM, Patrick Schluter wrote: have their windows system partition on a smallish SSD. Well, in all honestly, that IS going to cause problems regardless. The larger SSDs are fine (enough) for a phone, but for a PC that's used for anything more than the average joe's

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

2016-11-14 Thread Vladimir Panteleev via Digitalmars-d
On Monday, 14 November 2016 at 09:33:48 UTC, AB wrote: On Monday, 14 November 2016 at 09:06:18 UTC, Kagamin wrote: DMD can generate 64-bit object files just fine, you only need to link them, and DMD can invoke ms linker for you, that's all. It is unreasonable to pull in the many GBs of Visual

Low-level and Hight-level Kafka bindings

2016-11-14 Thread Ilya Yaroshenko via Digitalmars-d-announce
Kafka is most reliable distributed log system. It is used as many2many messaging system. # Links C library: https://github.com/edenhill/librdkafka Low-level bindings: https://github.com/DlangApache/librdkafka/ High-level bindings: https://github.com/tamediadigital/librdkafka-d Best regards,

Re: Variable-Length Bit-Level Encoding

2016-11-14 Thread Arafel via Digitalmars-d-learn
On Saturday, 12 November 2016 at 19:13:13 UTC, Nordlöw wrote: I'm looking for libraries/snippets (either in D or similar languages) that perform variable-length encoding of unsigned integers onto a bit-stream. Requirement is that smaller inputs (integer values) should be encoded with equal or

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

2016-11-14 Thread Chris 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. Installing Visual Studio failed because of lack of space. Even installing

Re: Earthquakes - New Zealand

2016-11-14 Thread Meta via Digitalmars-d
On Sunday, 13 November 2016 at 12:17:22 UTC, rikki cattermole wrote: Hello everyone! So to summarize New Zealand right now is being hit with some major earthquakes. But don't fret, I'm ok. There is a couple of other members in NZ, so please do let us know that you're safe! Now, for W, is

Re: Earthquakes - New Zealand

2016-11-14 Thread Paolo Invernizzi via Digitalmars-d
On Monday, 14 November 2016 at 09:20:07 UTC, Suliman wrote: On Monday, 14 November 2016 at 09:09:59 UTC, Paolo Invernizzi wrote: On Sunday, 13 November 2016 at 18:03:59 UTC, Suliman wrote: On Sunday, 13 November 2016 at 12:17:22 UTC, rikki cattermole But it's very interesting that right now I

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

2016-11-14 Thread Joakim via Digitalmars-d
On Monday, 14 November 2016 at 08:38:32 UTC, AB wrote: Installing D 2.072.0 on Windows 7 64-bit. After installation is complete I get the following two error (warning?) messages, screenshots here: http://imgur.com/a/5fydB For your convenience they read as follows: "Could not detect Visual

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

2016-11-14 Thread Mike Parker 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: D Lang installation on Windows, dependency on Visual Studio?

2016-11-14 Thread Patrick Schluter via Digitalmars-d
On Monday, 14 November 2016 at 09:33:48 UTC, AB wrote: On Monday, 14 November 2016 at 09:06:18 UTC, Kagamin wrote: DMD can generate 64-bit object files just fine, you only need to link them, and DMD can invoke ms linker for you, that's all. It is unreasonable to pull in the many GBs of Visual

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

2016-11-14 Thread Mike Parker via Digitalmars-d
On Monday, 14 November 2016 at 09:33:48 UTC, AB wrote: On Monday, 14 November 2016 at 09:06:18 UTC, Kagamin wrote: DMD can generate 64-bit object files just fine, you only need to link them, and DMD can invoke ms linker for you, that's all. It is unreasonable to pull in the many GBs of Visual

Re: D with CygWin

2016-11-14 Thread unDEFER via Digitalmars-d
On Monday, 14 November 2016 at 12:36:53 UTC, Chris wrote: It is. I'd recommend MinGW, though. Else you will have to ship the cygwin.dll. However, you can compile your D app directly on windows with dmd/dub, depending on the app. What kinda application is it? I still think how to better port

[Issue 16685] New: [The D Bug Tracker]

2016-11-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16685 Issue ID: 16685 Summary: [The D Bug Tracker] Product: D Version: D2 Hardware: All URL: http://dlang.org/ OS: All Status: NEW Severity:

Re: D with CygWin

2016-11-14 Thread Chris via Digitalmars-d
On Monday, 14 November 2016 at 12:24:17 UTC, unDEFER wrote: Hello! I want to port my D application to Windows using CygWin. Is it possible? How? It is. I'd recommend MinGW, though. Else you will have to ship the cygwin.dll. However, you can compile your D app directly on windows with

D with CygWin

2016-11-14 Thread unDEFER via Digitalmars-d
Hello! I want to port my D application to Windows using CygWin. Is it possible? How?

[Issue 16684] New: std.getopt, problem with the automatic handling of "h"

2016-11-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16684 Issue ID: 16684 Summary: std.getopt, problem with the automatic handling of "h" Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal

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

2016-11-14 Thread Kagamin via Digitalmars-d
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 unneeded stuff after installation, like arm tools and cross

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

2016-11-14 Thread John Colvin via Digitalmars-d
On Monday, 14 November 2016 at 09:33:48 UTC, AB wrote: On Monday, 14 November 2016 at 09:06:18 UTC, Kagamin wrote: DMD can generate 64-bit object files just fine, you only need to link them, and DMD can invoke ms linker for you, that's all. It is unreasonable to pull in the many GBs of Visual

Re: Awesome mir/glas package

2016-11-14 Thread Picaud Vincent via Digitalmars-d
On Monday, 14 November 2016 at 08:41:36 UTC, Ilya Yaroshenko wrote: Yes, I will use libFlame approach, it is a really good. In the same time Dlang is more user-friendly for SIMD optimization. GLAS routines probably will follow hypothetical (it is closed source) Intel MKL approach but without

Re: Nov 16 - Memory Safety and the D Programming Language

2016-11-14 Thread qznc via Digitalmars-d-announce
On Monday, 14 November 2016 at 06:57:07 UTC, Walter Bright wrote: · Follow our YouTube channel. So, there will be a recording? Great!

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

2016-11-14 Thread AB via Digitalmars-d
On Monday, 14 November 2016 at 09:06:18 UTC, Kagamin wrote: DMD can generate 64-bit object files just fine, you only need to link them, and DMD can invoke ms linker for you, that's all. It is unreasonable to pull in the many GBs of Visual Studio as a dependency only to use its 64-bit linker.

Re: Earthquakes - New Zealand

2016-11-14 Thread Suliman via Digitalmars-d
On Monday, 14 November 2016 at 09:09:59 UTC, Paolo Invernizzi wrote: On Sunday, 13 November 2016 at 18:03:59 UTC, Suliman wrote: On Sunday, 13 November 2016 at 12:17:22 UTC, rikki cattermole But it's very interesting that right now I am doing portal about Earthquakes on D. It's now not ready

Re: Earthquakes - New Zealand

2016-11-14 Thread Paolo Invernizzi via Digitalmars-d
On Sunday, 13 November 2016 at 18:03:59 UTC, Suliman wrote: On Sunday, 13 November 2016 at 12:17:22 UTC, rikki cattermole But it's very interesting that right now I am doing portal about Earthquakes on D. It's now not ready to work (because problem with new version of Vue-js) I'm also using

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

2016-11-14 Thread Kagamin via Digitalmars-d
On Monday, 14 November 2016 at 08:38:32 UTC, AB wrote: This is ridiculous, what does Visual Studio have to do with DMD and its capability to generate 64-bit code? DMD can generate 64-bit object files just fine, you only need to link them, and DMD can invoke ms linker for you, that's all.

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

2016-11-14 Thread rikki cattermole via Digitalmars-d
On 14/11/2016 9:38 PM, AB wrote: Installing D 2.072.0 on Windows 7 64-bit. After installation is complete I get the following two error (warning?) messages, screenshots here: http://imgur.com/a/5fydB For your convenience they read as follows: "Could not detect Visual Studio (2008-2015 are

Re: Awesome mir/glas package

2016-11-14 Thread Ilya Yaroshenko via Digitalmars-d
On Monday, 14 November 2016 at 07:42:13 UTC, Picaud Vincent wrote: Just a word to say that I find the glas benchmark results and design awesome! https://github.com/libmir/mir I am new to D but I think this kind of developments has the potential to attract a lot of people doing numerical

D Lang installation on Windows, dependency on Visual Studio?

2016-11-14 Thread AB via Digitalmars-d
Installing D 2.072.0 on Windows 7 64-bit. After installation is complete I get the following two error (warning?) messages, screenshots here: http://imgur.com/a/5fydB For your convenience they read as follows: "Could not detect Visual Studio (2008-2015 are supported). No 64-bit support."

Re: Vibe.d diet template reuse

2016-11-14 Thread Jot via Digitalmars-d-learn
On Monday, 14 November 2016 at 08:28:24 UTC, Sönke Ludwig wrote: Am 03.11.2016 um 06:31 schrieb Jot: [...] The example above should basically work - the included template is inserted into the outer context and can access any functions or variables declared there. Alternatively, you can also

Re: Vibe.d diet template reuse

2016-11-14 Thread Sönke Ludwig via Digitalmars-d-learn
Am 03.11.2016 um 06:31 schrieb Jot: I would like to create some generic diet templates for different html functionality. Some code in the template will need to be setup/changed for it to function properly. How can I write code that allows for one to express generic statements in the template

Re: CTFE Status

2016-11-14 Thread Stefan Koch via Digitalmars-d
On Monday, 14 November 2016 at 07:57:20 UTC, Stefan Koch wrote: On Monday, 14 November 2016 at 05:27:15 UTC, Stefan Koch wrote: Assignment to Array.length works now :) the following code : uint[] makeArr() { uint[] arr; arr.length = 5; return arr; } pragma(msg, makeArr());

Re: CTFE Status

2016-11-14 Thread Stefan Koch via Digitalmars-d
On Monday, 14 November 2016 at 05:27:15 UTC, Stefan Koch wrote: Assignment to Array.length works now :) the following code : uint[] makeArr() { uint[] arr; arr.length = 5; return arr; } pragma(msg, makeArr()); results in : CTFE_DEBUG_MESSAGE : building Array of Length 5 [0u, 0u,