Re: Note from a donor

2017-10-26 Thread codephantom via Digitalmars-d
On Thursday, 26 October 2017 at 20:44:49 UTC, Adam Wilson wrote: The XCode installer DMG is 5GB, before unpacking. And unlike VS17, I can't pick and choose. :) here is an update...( objective: Write some code in D, and build a 64bit .exe) started downloading offline install of vs2017

Re: Note from a donor

2017-10-26 Thread rikki cattermole via Digitalmars-d
On 26/10/2017 10:38 PM, MrSmith wrote: On Thursday, 26 October 2017 at 17:02:40 UTC, Mike Parker wrote: That's exactly the kind of developer background I'm thinking of. Getting permission to redistribute from MS would be the ideal solution. If not, I'm sure someone will find a way to make it

The website dlang.org load slowly in China

2017-10-26 Thread netmou (come from china) via Digitalmars-d-learn
Great wall prevent browser to load resource from some IP (eg:google.com) So the best way is remove CDN resource

Re: D for microservices

2017-10-26 Thread Jonathan M Davis via Digitalmars-d
On Thursday, October 26, 2017 19:19:57 Adam Wilson via Digitalmars-d wrote: > On 10/26/17 17:51, Jonathan M Davis wrote: > > On Thursday, October 26, 2017 03:25:24 Adam Wilson via Digitalmars-d wrote: > >> On 10/25/17 23:57, Jacob Carlborg wrote: > >>> I'm more concerned that I don't think we'll

Re: Note from a donor

2017-10-26 Thread Brad Roberts via Digitalmars-d
On 10/26/17 5:23 AM, Steven Schveighoffer via Digitalmars-d wrote: On 10/26/17 7:09 AM, Mike Parker wrote: I also didn't like that I had to install the Xcode tools on my Mac, but that's needed for any development on Mac from what I can see. Want to hear something scary? The autotester does

Re: Note from a donor

2017-10-26 Thread Jonathan M Davis via Digitalmars-d
On Friday, October 27, 2017 02:00:53 evilrat via Digitalmars-d wrote: > On Friday, 27 October 2017 at 01:40:07 UTC, Jonathan M Davis > > wrote: > > On Friday, October 27, 2017 01:12:53 codephantom via > > > > Digitalmars-d wrote: > >> VS is the most bloated piece of crap that's ever come out of >

Re: D for microservices

2017-10-26 Thread Adam Wilson via Digitalmars-d
On 10/26/17 17:51, Jonathan M Davis wrote: On Thursday, October 26, 2017 03:25:24 Adam Wilson via Digitalmars-d wrote: On 10/25/17 23:57, Jacob Carlborg wrote: I'm more concerned that I don't think we'll manage to implement a complete API and 100% bug free at the first try. Depends on how

Re: Note from a donor

2017-10-26 Thread codephantom via Digitalmars-d
On Thursday, 26 October 2017 at 20:44:49 UTC, Adam Wilson wrote: The XCode installer DMG is 5GB, before unpacking. And unlike VS17, I can't pick and choose. :) 1 hour, 7 minutes later... 1:11pm layout progres..45.43% (2.55GB downloaded...so far) I'll got get some lunch and come back to

Re: Note from a donor

2017-10-26 Thread evilrat via Digitalmars-d
On Friday, 27 October 2017 at 01:40:07 UTC, Jonathan M Davis wrote: On Friday, October 27, 2017 01:12:53 codephantom via Digitalmars-d wrote: VS is the most bloated piece of crap that's ever come out of Microsoft! Why encourage/force D developers to use it? The problem is that to reasonably

Re: Note from a donor

2017-10-26 Thread codephantom via Digitalmars-d
On Thursday, 26 October 2017 at 20:44:49 UTC, Adam Wilson wrote: The XCode installer DMG is 5GB, before unpacking. And unlike VS17, I can't pick and choose. :) 45 minutes later... 12:49pm layout progres..29%

Re: Note from a donor

2017-10-26 Thread Jonathan M Davis via Digitalmars-d
On Friday, October 27, 2017 01:12:53 codephantom via Digitalmars-d wrote: > VS is the most bloated piece of crap that's ever come out of > Microsoft! > Why encourage/force D developers to use it? The problem is that to reasonably interact with the rest of the Windows C/C++ ecosystem, you're

Re: Note from a donor

2017-10-26 Thread codephantom via Digitalmars-d
On Thursday, 26 October 2017 at 20:44:49 UTC, Adam Wilson wrote: The XCode installer DMG is 5GB, before unpacking. And unlike VS17, I can't pick and choose. :) 14 minutes later... 12:18pm layout progres..8.16%

Re: Note from a donor

2017-10-26 Thread codephantom via Digitalmars-d
On Thursday, 26 October 2017 at 20:44:49 UTC, Adam Wilson wrote: The XCode installer DMG is 5GB, before unpacking. And unlike VS17, I can't pick and choose. :) (trying to install vs2017 build tools on Win7 sp1 .. ) vs_BuildTools.exe --layout c:\btoffline (error: requires .NET framework 4.6 of

Re: D for microservices

2017-10-26 Thread Jonathan M Davis via Digitalmars-d
On Monday, October 23, 2017 12:13:12 Laeeth Isharc via Digitalmars-d wrote: > How can we generate a static binary ? I asked about this before, > and the response was that it's a bad idea because of security > vulns and so on. True if you are running on a conventional Linux > host. But on the

[Issue 2447] There's no disconnectall for std.signals

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2447 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/f0d2655d7535ae16fd681679d75b4c42014348c9 Fix issue 2447 - add disconnectAll for std.signals

[Issue 2447] There's no disconnectall for std.signals

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2447 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

Re: D for microservices

2017-10-26 Thread Jonathan M Davis via Digitalmars-d
On Thursday, October 26, 2017 03:25:24 Adam Wilson via Digitalmars-d wrote: > On 10/25/17 23:57, Jacob Carlborg wrote: > > I'm more concerned that I don't think we'll manage to implement a > > complete API and 100% bug free at the first try. > > Depends on how one defines first try. Phobos as a

Re: Required Reading: "How Non-Member Functions Improve Encapsulation"

2017-10-26 Thread Jonathan M Davis via Digitalmars-d
On Thursday, October 26, 2017 16:29:24 Walter Bright via Digitalmars-d wrote: > On 10/26/2017 3:05 PM, Jonathan M Davis wrote: > > As has been pointed out elsewhere in this thread, the encapsulation > > benefits don't exist in the same way in D unless you put the free > > functions in separate

[Issue 5332] Undefined reference to zero length array

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5332 --- Comment #12 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/239c35233e62f289e6e868b7d4eafdcd63c72ea4 fix Issue 5332 - Undefined reference to zero length array

Re: Required Reading: "How Non-Member Functions Improve Encapsulation"

2017-10-26 Thread Walter Bright via Digitalmars-d
On 10/26/2017 3:05 PM, Jonathan M Davis wrote: As has been pointed out elsewhere in this thread, the encapsulation benefits don't exist in the same way in D unless you put the free functions in separate modules, and then you have to import other stuff to use them, whereas in C++, you can just

Re: Adding syntacti sugar for simple "readonly" attribute ?

2017-10-26 Thread bauss via Digitalmars-d
On Thursday, 26 October 2017 at 21:19:28 UTC, LunaticWare wrote: Hello everyone i am new to the D community and i really enjoy programming in D, i haven't done anything significant so far. but being a very lazy person, when writing a bit of code i noticed that maybe for such a simple thing we

Re: Empty UDA for classes not allowed?

2017-10-26 Thread bauss via Digitalmars-d-learn
On Thursday, 26 October 2017 at 21:24:43 UTC, Jonathan M Davis wrote: On Thursday, October 26, 2017 15:09:48 bauss via Digitalmars-d-learn wrote: [...] It worked just fine when I just tried it on my machine - both with dmd master and with 2.076.1. Are you using an older version of the

Re: Adding syntacti sugar for simple "readonly" attribute ?

2017-10-26 Thread Ali Çehreli via Digitalmars-d
On 10/26/2017 02:19 PM, LunaticWare wrote: > i don't know if this is the correct way to suggest enhancement to D, Improvement proposals are handled through DIPs here: https://github.com/dlang/DIPs > so maybe we could add syntactic sugar for "readonly" attributes. There is the following

Re: Adding syntacti sugar for simple "readonly" attribute ?

2017-10-26 Thread jmh530 via Digitalmars-d
On Thursday, 26 October 2017 at 21:19:28 UTC, LunaticWare wrote: [snip] You can use string mixins. template GenGetterSetter(string Type, string Name) { const char[] GenGetterSetter = "private " ~ Type ~ " " ~ Name ~ "_;\n" ~ "this(" ~ Type ~ "

Re: Required Reading: "How Non-Member Functions Improve Encapsulation"

2017-10-26 Thread Jonathan M Davis via Digitalmars-d
On Thursday, October 26, 2017 12:53:38 JN via Digitalmars-d wrote: > On Wednesday, 25 October 2017 at 22:19:23 UTC, Walter Bright > > wrote: > > for core D devs. > > > > "How Non-Member Functions Improve Encapsulation" by Scott Meyers > > > >

Re: Note from a donor

2017-10-26 Thread jmh530 via Digitalmars-d
On Thursday, 26 October 2017 at 17:10:55 UTC, Mike Parker wrote: The Visual C++ install is all that it's needed. I'll update the wiki tomorrow after I verify the options on my desktop. You know that wiki is pretty informative, but I don't see a reference or link to it anywhere here

Re: Note from a donor

2017-10-26 Thread jmh530 via Digitalmars-d
On Thursday, 26 October 2017 at 20:24:53 UTC, Patrick Schluter wrote: [snip] That installer doesn't work with the proxy installation we have on our work PC. This is usually the bane of my corporate existence. I have to manually install so much stuff. Anaconda and RStudio's package managers

[Issue 17942] Enums are evaluated differently in global scope

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17942 ag0ae...@gmail.com changed: What|Removed |Added CC||ag0ae...@gmail.com --- Comment #1 from

[Issue 17914] [Reg 2.075] Fibers guard page uses a lot more memory mappings

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17914 --- Comment #6 from Steven Schveighoffer --- (In reply to briancschott from comment #5) > That's not entirely accurate. I found this because the range implementation > for a complex multi-dimensional tree structure was

Re: Note from a donor

2017-10-26 Thread MrSmith via Digitalmars-d
On Thursday, 26 October 2017 at 17:02:40 UTC, Mike Parker wrote: That's exactly the kind of developer background I'm thinking of. Getting permission to redistribute from MS would be the ideal solution. If not, I'm sure someone will find a way to make it work with the LLVM or MinGW tools

Re: Empty UDA for classes not allowed?

2017-10-26 Thread Jonathan M Davis via Digitalmars-d-learn
On Thursday, October 26, 2017 15:09:48 bauss via Digitalmars-d-learn wrote: > Why is it not allowed to have empty UDAs for classes? > > Let's say we have an UDA like this: > struct Exclude { } > > Then we want to put it on a class like: > > @Exclude class Foo > { > ... > } > > This will fail

Adding syntacti sugar for simple "readonly" attribute ?

2017-10-26 Thread LunaticWare via Digitalmars-d
Hello everyone i am new to the D community and i really enjoy programming in D, i haven't done anything significant so far. but being a very lazy person, when writing a bit of code i noticed that maybe for such a simple thing we could have a shorter syntax. i don't know if this is the correct

Re: DateTime trying to do it at compile time.

2017-10-26 Thread Jonathan M Davis via Digitalmars-d-learn
On Thursday, October 26, 2017 17:55:05 Mr. Jonse via Digitalmars-d-learn wrote: > C:\D\dmd2\windows\bin\..\..\src\phobos\std\concurrency.d(2395): > Error: variable lock cannot be modified at compile time > C:\D\dmd2\windows\bin\..\..\src\phobos\std\concurrency.d(2422): > called from here:

[Issue 17541] Function attribute deduction depends on compile invocation

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17541 johanenge...@weka.io changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

Re: Note from a donor

2017-10-26 Thread Adam Wilson via Digitalmars-d
On 10/26/17 08:51, Bo wrote: On Thursday, 26 October 2017 at 12:36:40 UTC, jmh530 wrote: However, if you need Visual Studio installed, then that takes like a half an hour. And a gig of space, just because D needs a small part of it. That is why people do not want to install VS. Why install a

[Issue 17914] [Reg 2.075] Fibers guard page uses a lot more memory mappings

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17914 --- Comment #5 from briancsch...@gmail.com --- > The problem is, this either break toy code that just > creates lots of useless Fibers or heavy production code > that actually needs 30K Fibers. That's not entirely accurate. I found this because the

Re: Note from a donor

2017-10-26 Thread Patrick Schluter via Digitalmars-d
On Thursday, 26 October 2017 at 12:36:40 UTC, jmh530 wrote: On Thursday, 26 October 2017 at 11:32:26 UTC, Andrei Alexandrescu wrote: A wizard-style installation with links to things and a good flow might help a lot here. Is that possible? -- Andrei The DMD installer is already a Wizard on

[Issue 11847] sub-pkg not available as qualified name

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11847 Martin Nowak changed: What|Removed |Added Keywords||pull --- Comment #13 from

Re: Adding pure to a function type

2017-10-26 Thread jmh530 via Digitalmars-d
On Thursday, 26 October 2017 at 19:08:56 UTC, Andrei Alexandrescu wrote: One additional thing I noted is that I wanted to add attributes, not set them. I'd like some simpler primitives like AddPure, RemovePure etc. BTW the PR is https://github.com/dlang/phobos/pull/5470. -- Andrei My above

[Issue 5332] Undefined reference to zero length array

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5332 --- Comment #11 from Walter Bright --- https://github.com/dlang/dmd/pull/7249 --

[Issue 17914] [Reg 2.075] Fibers guard page uses a lot more memory mappings

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17914 --- Comment #4 from Martin Nowak --- (In reply to Steven Schveighoffer from comment #3) > > I'd err on the side of memory safety. Stack overflows are an actual problem > > with Fibers and hard to debug. > > Except this breaks existing

Re: Adding pure to a function type

2017-10-26 Thread Andrei Alexandrescu via Digitalmars-d
On 10/26/2017 12:14 PM, jmh530 wrote: On Thursday, 26 October 2017 at 16:06:28 UTC, jmh530 wrote: On Thursday, 26 October 2017 at 15:47:03 UTC, Andrei Alexandrescu wrote: s/less hideous/even more awesome/ No need to be testy :o). I noticed there's no way to say "just leave linkage as is". I

Re: DateTime trying to do it at compile time.

2017-10-26 Thread Rene Zwanenburg via Digitalmars-d-learn
On Thursday, 26 October 2017 at 17:55:05 UTC, Mr. Jonse wrote: when calling Clock.currTime() in a this() in a class. I have no idea why it is trying to do it at compile time and failing. I thought if ctfe couldn't compile it would do it at run time anyways? Seems like a bug. I suspect you're

Re: DMD, Windows and C

2017-10-26 Thread Rainer Schuetze via Digitalmars-d-announce
On 25.10.2017 18:57, kinke wrote: On Wednesday, 25 October 2017 at 16:05:48 UTC, Mike Parker wrote: In preparation for an upcoming blog series, and partly as a reaction to the "Windows is a second-class citizen" criticisms that have been cropping up lately, I've put together a primer on

Re: DMD, Windows and C

2017-10-26 Thread Rainer Schuetze via Digitalmars-d-announce
On 25.10.2017 18:05, Mike Parker wrote: In preparation for an upcoming blog series, and partly as a reaction to the "Windows is a second-class citizen" criticisms that have been cropping up lately, I've put together a primer on getting set up to use C and D together on Windows. It includes

DateTime trying to do it at compile time.

2017-10-26 Thread Mr. Jonse via Digitalmars-d-learn
C:\D\dmd2\windows\bin\..\..\src\phobos\std\concurrency.d(2395): Error: variable lock cannot be modified at compile time C:\D\dmd2\windows\bin\..\..\src\phobos\std\concurrency.d(2422): called from here: initOnceLock() C:\D\dmd2\windows\bin\..\..\src\phobos\std\concurrency.d(2422):

[Issue 17914] [Reg 2.075] Fibers guard page uses a lot more memory mappings

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17914 Steven Schveighoffer changed: What|Removed |Added CC|

[Issue 17914] [Reg 2.075] Fibers guard page uses a lot more memory mappings

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17914 Martin Nowak changed: What|Removed |Added CC||c...@dawg.eu

Re: Note from a donor

2017-10-26 Thread Mike Parker via Digitalmars-d
On Thursday, 26 October 2017 at 16:34:54 UTC, jmh530 wrote: One little trick in the wiki is that it says that you can uncheck boxes to reduce the size/time of the download. It might be helpful to know the minimum required to get D working and the minimum required to get Visual D working.

Re: Note from a donor

2017-10-26 Thread Mike Parker via Digitalmars-d
On Thursday, 26 October 2017 at 16:27:13 UTC, Andre Pany wrote: On Thursday, 26 October 2017 at 15:50:07 UTC, Andrei Alexandrescu wrote: On 10/26/2017 08:36 AM, jmh530 wrote: [...] I am preparing a request for Microsoft to allow us to redistribute some of their binaries. Of course we want

Re: Note from a donor

2017-10-26 Thread Mike Parker via Digitalmars-d
On Thursday, 26 October 2017 at 11:32:26 UTC, Andrei Alexandrescu wrote: A wizard-style installation with links to things and a good flow might help a lot here. Is that possible? -- Andrei The installer currently offers to install VS 2013. A more recent version might be better for some

Re: Note from a donor

2017-10-26 Thread jmh530 via Digitalmars-d
On Thursday, 26 October 2017 at 15:50:07 UTC, Andrei Alexandrescu wrote: I am preparing a request for Microsoft to allow us to redistribute some of their binaries. Of course we want to do that only if deemed necessary (they are not available easily from their site etc). Any help building an

[Issue 17942] New: Enums are evaluated differently in global scope

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17942 Issue ID: 17942 Summary: Enums are evaluated differently in global scope Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: blocker

Re: Note from a donor

2017-10-26 Thread Andre Pany via Digitalmars-d
On Thursday, 26 October 2017 at 15:50:07 UTC, Andrei Alexandrescu wrote: On 10/26/2017 08:36 AM, jmh530 wrote: [...] I am preparing a request for Microsoft to allow us to redistribute some of their binaries. Of course we want to do that only if deemed necessary (they are not available

[Issue 17941] New: arity (and probably others) only consider the first lexically present function

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17941 Issue ID: 17941 Summary: arity (and probably others) only consider the first lexically present function Product: D Version: D2 Hardware: x86_64 OS: Linux

Re: Adding pure to a function type

2017-10-26 Thread jmh530 via Digitalmars-d
On Thursday, 26 October 2017 at 15:47:03 UTC, Andrei Alexandrescu wrote: s/less hideous/even more awesome/ No need to be testy :o). I noticed there's no way to say "just leave linkage as is". I tried SetFunctionAttributes!(typeof(), null, FunctionAttribute.pure_) and

Re: Adding pure to a function type

2017-10-26 Thread jmh530 via Digitalmars-d
On Thursday, 26 October 2017 at 16:06:28 UTC, jmh530 wrote: On Thursday, 26 October 2017 at 15:47:03 UTC, Andrei Alexandrescu wrote: s/less hideous/even more awesome/ No need to be testy :o). I noticed there's no way to say "just leave linkage as is". I tried

[Issue 17940] bool function parameters loaded from struct sometimes miscompiled with -O

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17940 --- Comment #2 from FeepingCreature --- Hah! It tries to reload the cse into ESI, but since that's a 1-byte operation (since bool), it actually becomes a move to DH. ESI is not even reachable with 1-byte ops, because those

Re: Note from a donor

2017-10-26 Thread Andrei Alexandrescu via Digitalmars-d
On 10/26/2017 08:36 AM, jmh530 wrote: On Thursday, 26 October 2017 at 11:32:26 UTC, Andrei Alexandrescu wrote: A wizard-style installation with links to things and a good flow might help a lot here. Is that possible? -- Andrei The DMD installer is already a Wizard on Windows. First it

[Issue 17741] std.range.transposed does not work with Map

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17741 Alexandru Razvan Caciulescu changed: What|Removed |Added Status|NEW

Re: Note from a donor

2017-10-26 Thread Bo via Digitalmars-d
On Thursday, 26 October 2017 at 12:36:40 UTC, jmh530 wrote: However, if you need Visual Studio installed, then that takes like a half an hour. And a gig of space, just because D needs a small part of it. That is why people do not want to install VS. Why install a competing language studio,

Re: Adding pure to a function type

2017-10-26 Thread Andrei Alexandrescu via Digitalmars-d
On 10/26/2017 11:10 AM, Adam D. Ruppe wrote: On Thursday, 26 October 2017 at 15:04:52 UTC, Andrei Alexandrescu wrote: So I went with the hammer that will fix anything - a string mixin. Ideas for a nicer solution? The stdlib has: SetFunctionAttributes in std.traits

Re: Adding pure to a function type

2017-10-26 Thread Adam D. Ruppe via Digitalmars-d
On Thursday, 26 October 2017 at 15:04:52 UTC, Andrei Alexandrescu wrote: So I went with the hammer that will fix anything - a string mixin. Ideas for a nicer solution? The stdlib has: SetFunctionAttributes in std.traits

[Issue 17918] [Reg 2.072] ICE with unknown symbol in base class

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17918 Martin Nowak changed: What|Removed |Added Keywords||ice, ice-on-invalid-code

Empty UDA for classes not allowed?

2017-10-26 Thread bauss via Digitalmars-d-learn
Why is it not allowed to have empty UDAs for classes? Let's say we have an UDA like this: struct Exclude { } Then we want to put it on a class like: @Exclude class Foo { ... } This will fail with the following error: Error: type Exclude has no value But on everything else we can place an

Adding pure to a function type

2017-10-26 Thread Andrei Alexandrescu via Digitalmars-d
So I'm trying to add "pure" to a function of which type is otherwise deduced by the compiler: package @property pure T lazilyInitializedConstant(T, alias outOfBandValue, alias initializer)() if (is(Unqual!T : T)) { static T impl() { ... } mixin("alias Fun = " ~

Re: Required Reading: "How Non-Member Functions Improve Encapsulation"

2017-10-26 Thread Jacob Carlborg via Digitalmars-d
On 2017-10-26 08:56, who cares wrote: I tend to agree. When a member function can be written with only the public declarations (aka the "public API") it can be set as a free function. However during my youth i've written lots of huge classes...now that i don't write much anymore it's too late

[Issue 17940] bool function parameters loaded from struct sometimes miscompiled with -O

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17940 FeepingCreature changed: What|Removed |Added CC|

[Issue 17940] New: bool function parameters loaded from struct sometimes miscompiled with -O

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17940 Issue ID: 17940 Summary: bool function parameters loaded from struct sometimes miscompiled with -O Product: D Version: D2 Hardware: x86_64 OS: Linux

[Issue 2447] There's no disconnectall for std.signals

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2447 Eduard Staniloiu changed: What|Removed |Added CC||edi33...@gmail.com

[Issue 17897] Incorrect number of destructor calls in example

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17897 --- Comment #11 from Steven Schveighoffer --- (In reply to Temtaime from comment #10) > After fixing https://issues.dlang.org/show_bug.cgi?id=17246 this outputs: > > Bar.this(int): 14FB84 > fun: 14FB20 > Bar.~this(): 14FB20 >

[Issue 17897] Incorrect number of destructor calls in example

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17897 Temtaime changed: What|Removed |Added CC||temta...@gmail.com ---

[Issue 17897] Incorrect number of destructor calls in example

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17897 --- Comment #9 from Jack Applegame --- Seems this bug related to https://issues.dlang.org/show_bug.cgi?id=17246 --

[Issue 17741] std.range.transposed does not work with Map

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17741 Alexandru Razvan Caciulescu changed: What|Removed |Added CC|

[Issue 17741] std.range.transposed does not work with Map

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17741 --- Comment #3 from Alexandru Razvan Caciulescu --- https://github.com/dlang/phobos/pull/5810 --

Re: Required Reading: "How Non-Member Functions Improve Encapsulation"

2017-10-26 Thread JN via Digitalmars-d
On Wednesday, 25 October 2017 at 22:19:23 UTC, Walter Bright wrote: for core D devs. "How Non-Member Functions Improve Encapsulation" by Scott Meyers http://www.drdobbs.com/cpp/how-non-member-functions-improve-encapsu/184401197 Note that I'm as guilty as anyone for not understanding or

[Issue 17939] extern(C) function support with non-C attributes/types should be documented

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17939 Martin Nowak changed: What|Removed |Added CC||c...@dawg.eu --- Comment #1

Re: Note from a donor

2017-10-26 Thread jmh530 via Digitalmars-d
On Thursday, 26 October 2017 at 11:32:26 UTC, Andrei Alexandrescu wrote: A wizard-style installation with links to things and a good flow might help a lot here. Is that possible? -- Andrei The DMD installer is already a Wizard on Windows. First it checks if you have a current version of D

[Issue 17379] Mangle voldemort types as if they are defined in the outer scope to avoid exponential symbol name length with templates

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17379 ZombineDev changed: What|Removed |Added CC|

Re: Note from a donor

2017-10-26 Thread jmh530 via Digitalmars-d
On Thursday, 26 October 2017 at 10:19:23 UTC, Kagamin wrote: LLD was integrated in ldc 1.3.0 https://github.com/ldc-developers/ldc/pull/2142 but currently has conflicting command line options. I suppose you can still run it separately, for me even ld works. Interesting.

[Issue 15831] IFTI voldemort type exploding bloat

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15831 Steven Schveighoffer changed: What|Removed |Added See Also|

[Issue 17379] Mangle voldemort types as if they are defined in the outer scope to avoid exponential symbol name length with templates

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17379 Steven Schveighoffer changed: What|Removed |Added Status|NEW |RESOLVED

Re: Note from a donor

2017-10-26 Thread Steven Schveighoffer via Digitalmars-d
On 10/26/17 7:09 AM, Mike Parker wrote: I also didn't like that I had to install the Xcode tools on my Mac, but that's needed for any development on Mac from what I can see. Want to hear something scary? The autotester does not use xcode tools :) In fact, I've been meaning to bug Brad about

[Issue 17541] Function attribute deduction depends on compile invocation

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17541 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 17541] Function attribute deduction depends on compile invocation

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17541 --- Comment #6 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/df847ccb60a37f4dbc349e8cee4a2ee6081e0c3c fix Issue 17541 - Function attribute deduction depends on

Re: Required Reading: "How Non-Member Functions Improve Encapsulation"

2017-10-26 Thread Steven Schveighoffer via Digitalmars-d
On 10/25/17 6:19 PM, Walter Bright wrote: for core D devs. "How Non-Member Functions Improve Encapsulation" by Scott Meyers http://www.drdobbs.com/cpp/how-non-member-functions-improve-encapsu/184401197 Note that I'm as guilty as anyone for not understanding or following these guidelines.

[Issue 17842] [scope] array append allows for escaping references

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17842 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/a3859d9529f2505e2736e37c0ee0d8123080c90a fix Issue 17842 - [scope] array append allows for escaping

[Issue 17927] [scope] `scope inout` parameter value can be escaped via return

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17927 --- Comment #8 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/3f7544f355eacc0ad390a89b1bc07ca2dbcf835e fix Issue 17927 - [scope] parameter value can be escaped via

[Issue 7854] Non-C attributes allowed on extern(C) function parameters

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7854 Steven Schveighoffer changed: What|Removed |Added See Also|

[Issue 17246] [REG2.053] Extra destructor call.

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17246 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/6eccdeee1d4c41abb0a6e8733e13a85b63765266 fix Issue 17246 - [REG2.053] Extra destructor call.

[Issue 17939] New: extern(C) function support with non-C attributes/types should be documented

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17939 Issue ID: 17939 Summary: extern(C) function support with non-C attributes/types should be documented Product: D Version: D2 Hardware: All OS: All

[Issue 7997] Optlink issues 'Index Range' error with static zero length array

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7997 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 7997] Optlink issues 'Index Range' error with static zero length array

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7997 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/d4883f2a95a3e7ffe9feb09c688b7a1ef38e45f2 fix Issue 7997 - Optlink issues 'Index Range' error with

[Issue 17908] Can't alias an overload set with disabled function

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17908 RazvanN changed: What|Removed |Added CC|

Re: Note from a donor

2017-10-26 Thread Andrei Alexandrescu via Digitalmars-d
On 10/26/17 7:09 AM, Mike Parker wrote: On Thursday, 26 October 2017 at 10:16:27 UTC, Adam Wilson wrote: On 10/26/17 00:32, Jacob Carlborg wrote: IIRC, there have been people on these forums that have been asking why they need to download additional software when they already have the

Re: Note from a donor

2017-10-26 Thread Mike Parker via Digitalmars-d
On Thursday, 26 October 2017 at 10:16:27 UTC, Adam Wilson wrote: On 10/26/17 00:32, Jacob Carlborg wrote: IIRC, there have been people on these forums that have been asking why they need to download additional software when they already have the compiler. Same on macOS. How many

Re: D could catch this wave: web assembly

2017-10-26 Thread Suliman via Digitalmars-d
On Tuesday, 24 October 2017 at 02:08:42 UTC, codephantom wrote: On Monday, 23 October 2017 at 22:32:55 UTC, bioinfornatics wrote: To remember it will be the next open standard by a W3C Community Group to create portable and efficient application across major web browser. A such feature can

Re: D for microservices

2017-10-26 Thread rikki cattermole via Digitalmars-d
On 26/10/2017 11:25 AM, Adam Wilson wrote: On 10/25/17 23:57, Jacob Carlborg wrote: On 2017-10-26 00:53, Adam Wilson wrote: This of course makes the assumption that we clean-room our own protocol implementations which I am entirely against. Better to use what already exists. I'm entirely

Re: Assertions getting corrupted

2017-10-26 Thread Jonathan M Davis via Digitalmars-d
On Thursday, October 26, 2017 10:05:11 bauss via Digitalmars-d wrote: > If D really wants to succeed with such things, then we cannot > assume the program is in an invalid state. It must be up to the > developer themselves to figure out if it's in an invalid state or > not. We've been over this

Re: Required Reading: "How Non-Member Functions Improve Encapsulation"

2017-10-26 Thread Kagamin via Digitalmars-d
On Wednesday, 25 October 2017 at 22:19:23 UTC, Walter Bright wrote: for core D devs. "How Non-Member Functions Improve Encapsulation" by Scott Meyers http://www.drdobbs.com/cpp/how-non-member-functions-improve-encapsu/184401197 You mean non-member functions are preferred? I encountered this

  1   2   >