Re: The D Language Foundation is now incorporated

2015-10-18 Thread Suliman via Digitalmars-d-announce
I think a new website will be much better suited for this task. I do not think that we should diffuse efforts and yet another site is bad idea. And now dsource is not live, so it's better revive it then create fork. I currently host dsource.org as a read-only archive ok, when we are done I w

Re: The D Language Foundation is now incorporated

2015-10-18 Thread Gary Willoughby via Digitalmars-d-announce
On Friday, 16 October 2015 at 10:04:36 UTC, Andrei Alexandrescu wrote: We are pleased to announce that the D Language Foundation is now incorporated with the state of Washington, USA. The foundation's Board of Directors are Walter Bright, Ali Çehreli, and myself. Our initial administrative me

Re: Fastest JSON parser in the world is a D project

2015-10-18 Thread Marco Leise via Digitalmars-d-announce
Am Sun, 18 Oct 2015 03:40:52 + schrieb rsw0x : > On Wednesday, 14 October 2015 at 07:01:49 UTC, Marco Leise wrote: > > JSON parsing in D has come a long way, especially when you look > > at it from the efficiency angle as a popular benchmark does > > that has been forked by well known D cont

It's a class! It's a struct! It's ... SuperStruct!

2015-10-18 Thread rcorre via Digitalmars-d-announce
SuperStruct is a struct that acts like a class: --- struct Square { float size; float area() { return size * size; } } struct Circle { float r; float area() { return r * r * PI; } } alias Shape = SuperStruct!(Square, Circle); // look! polymorphism! Shape sqr = Square(2); Shape cir = Ci

Re: It's a class! It's a struct! It's ... SuperStruct!

2015-10-18 Thread Meta via Digitalmars-d-announce
On Sunday, 18 October 2015 at 19:00:16 UTC, rcorre wrote: You might find this interesting. It's an "outside-in" approach to the same problem as opposed to your "inside-out" approach. Not finished, but the general idea is there. https://github.com/MetaLang/phobos/commit/c8132f53b791ed4a134dd456

Re: It's a class! It's a struct! It's ... SuperStruct!

2015-10-18 Thread rcorre via Digitalmars-d-announce
On Sunday, 18 October 2015 at 21:00:32 UTC, Meta wrote: On Sunday, 18 October 2015 at 19:00:16 UTC, rcorre wrote: You might find this interesting. It's an "outside-in" approach to the same problem as opposed to your "inside-out" approach. Not finished, but the general idea is there. https://g

Re: It's a class! It's a struct! It's ... SuperStruct!

2015-10-18 Thread rcorre via Digitalmars-d-announce
On Sunday, 18 October 2015 at 21:18:52 UTC, rcorre wrote: On Sunday, 18 October 2015 at 21:00:32 UTC, Meta wrote: On Sunday, 18 October 2015 at 19:00:16 UTC, rcorre wrote: You might find this interesting. It's an "outside-in" approach to the same problem as opposed to your "inside-out" approach

Re: It's a class! It's a struct! It's ... SuperStruct!

2015-10-18 Thread Meta via Digitalmars-d-announce
On Sunday, 18 October 2015 at 21:18:52 UTC, rcorre wrote: That's just the kind of thing I was looking for! I actually started with a 'visitor' function that works similar to project: https://github.com/rcorre/superstruct/blob/master/src/superstruct.d#L153-L166 then decided to wrap the whole th

Re: The D Language Foundation is now incorporated

2015-10-18 Thread Jonathan M Davis via Digitalmars-d-announce
On Sunday, October 18, 2015 11:12:18 Suliman via Digitalmars-d-announce wrote: > >I think a new website will be much better suited for this task. > I do not think that we should diffuse efforts and yet another > site is bad idea. And now dsource is not live, so it's better > revive it then create f

Re: The D Language Foundation is now incorporated

2015-10-18 Thread Pradeep Gowda via Digitalmars-d-announce
On Sunday, 18 October 2015 at 21:52:17 UTC, Jonathan M Davis wrote: I expect that you're going to get a fair bit of disagreement on that. We've been telling everyone for years that it's full of old stuff that mostly only works with old versions of D (most of it D1) and that it should usually

Re: The D Language Foundation is now incorporated

2015-10-18 Thread Dicebot via Digitalmars-d-announce
On Friday, 16 October 2015 at 10:04:36 UTC, Andrei Alexandrescu wrote: We're very excited about the creation of the D Language Foundation and we hold high hopes that it will have a strong positive effect on the D language and community. Andrei Looking forward to reading more details about i