Re: [GSoC] Precise GC

2016-09-02 Thread Rory McGuire via Digitalmars-d-announce
On Fri, Sep 2, 2016 at 9:46 AM, Jeremy DeHaan via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote: > [snip]. Precisely scanning unions is tricky since they could mix pointer > and non pointer types. [snip] > Can we rather just make a special tagged union that is scanned...

[Issue 16458] std.typecons.namedTuple

2016-09-02 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16458 --- Comment #2 from Edwin van Leeuwen --- Never even considered that tuple! might be able to do this. Sorry for the noise :) --

Re: [GSoC] Precise GC

2016-09-02 Thread Jeremy DeHaan via Digitalmars-d-announce
On Friday, 2 September 2016 at 06:54:57 UTC, Ali Çehreli wrote: On 09/01/2016 08:25 PM, Jeremy DeHaan wrote: > I will still continue working on it in the hopes it'll get in. Great news! :) > I > discovered that I really enjoyed working on the garbage collector If that's not motivation

Re: [GSoC] Precise GC

2016-09-02 Thread Jeremy DeHaan via Digitalmars-d-announce
On Friday, 2 September 2016 at 05:19:57 UTC, thedeemon wrote: On Friday, 2 September 2016 at 03:25:33 UTC, Jeremy DeHaan wrote: Hi everyone, I know I'm super late to the party for this, and sorry for that. While my work on the precise GC didn't go as planned, it is closer than it was to be

Re: vibed.org is down

2016-09-02 Thread Daniel Kozak via Digitalmars-d
Dne 2.9.2016 v 09:39 wobbles via Digitalmars-d napsal(a): On Friday, 2 September 2016 at 07:23:51 UTC, Mike Parker wrote: On Friday, 2 September 2016 at 07:02:20 UTC, finalpatch wrote: Probably not good for publicity. meh. It's the internet. Sometimes servers go down. code.dlang.org is

Re: Beta D 2.071.2-b3

2016-09-02 Thread Rory McGuire via Digitalmars-d-announce
On Fri, Sep 2, 2016 at 8:47 AM, ketmar via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote: > On Friday, 2 September 2016 at 06:27:11 UTC, Rory McGuire wrote: > >> Perhaps @system code should just completely ignore privacy? >> > > it is uncontrollable. imagine attribute

Re: vibed.org is down

2016-09-02 Thread wobbles via Digitalmars-d
On Friday, 2 September 2016 at 07:23:51 UTC, Mike Parker wrote: On Friday, 2 September 2016 at 07:02:20 UTC, finalpatch wrote: Probably not good for publicity. meh. It's the internet. Sometimes servers go down. code.dlang.org is down too :-(

Re: Image of D code on Norwegian IT news site

2016-09-02 Thread Bienlein via Digitalmars-d
On Thursday, 1 September 2016 at 18:45:14 UTC, deadalnix wrote: On Wednesday, 31 August 2016 at 18:50:58 UTC, simendsjo wrote: An article about how outsourcing reduces the need for Norwegian developers. No links to D other than the image on top though. I wonder what they searched for to find

Re: vibed.org is down

2016-09-02 Thread Mike Parker via Digitalmars-d
On Friday, 2 September 2016 at 07:02:20 UTC, finalpatch wrote: Probably not good for publicity. meh. It's the internet. Sometimes servers go down.

vibed.org is down

2016-09-02 Thread finalpatch via Digitalmars-d
"500 - Internal Server Error Internal Server Error" Probably not good for publicity.

Equivalent of FirstOrDefault with ranges

2016-09-02 Thread Lutger via Digitalmars-d-learn
I was looking for something like FirstOrDefault* from .NET in phobos. For example, I have this piece of code: string findBobOrReturnNull(string[] names) { auto r = names.find("bob"); if(r.empty) return null; return r.front; } assert(findBobOrReturnNull(["alice", "bob"]) == "bob");

Re: [GSoC] Precise GC

2016-09-02 Thread Ali Çehreli via Digitalmars-d-announce
On 09/01/2016 08:25 PM, Jeremy DeHaan wrote: > I will still continue working on it in the hopes it'll get in. Great news! :) > I > discovered that I really enjoyed working on the garbage collector If that's not motivation enough... > I was recently accepted to the University of Washington's

Re: Beta D 2.071.2-b3

2016-09-02 Thread ketmar via Digitalmars-d-announce
On Friday, 2 September 2016 at 06:27:11 UTC, Rory McGuire wrote: Perhaps @system code should just completely ignore privacy? it is uncontrollable. imagine attribute inference: today, your function was inferred @system, and it sees everything. and tomorrow you fixed some other things, and now

Re: Different array rotation algorithms benchmark

2016-09-02 Thread Miguel L via Digitalmars-d-learn
On Thursday, 1 September 2016 at 13:16:19 UTC, Johan Engelen wrote: On Thursday, 1 September 2016 at 10:37:18 UTC, Miguel L wrote: Also, forgot to specify I am using LDC with -05. And the version of LDC too please ;-) LDC version is: ldc2-1.1.0-beta2-win64-msvc

Re: Beta D 2.071.2-b3

2016-09-02 Thread Rory McGuire via Digitalmars-d-announce
On 02 Sep 2016 07:40, "ketmar via Digitalmars-d-announce" < digitalmars-d-announce@puremagic.com> wrote: > > On Tuesday, 30 August 2016 at 23:54:45 UTC, Martin Nowak wrote: >> >> Allowing access to private members has a lot of implications, e.g. breaks lots of optimizations b/c you can't know who

<    1   2