Re: Next step on reference counting topics

2014-05-15 Thread Ethan via Digitalmars-d
I've been trying to think of a solution to use over here at Remedy for making the garbage collector reference count allocations instead of the current scan method (even with Rainer Schütze's GC it still does a scan, and I'd feel much more comfortable not having to schedule a GC collection

Re: Next step on reference counting topics

2014-05-15 Thread Dicebot via Digitalmars-d
On Tuesday, 13 May 2014 at 15:14:16 UTC, Andrei Alexandrescu wrote: On 5/13/14, 6:43 AM, Dicebot wrote: On actual topic of next step - I agree with Jacob, removing all internal allocations from Phobos is most beneficial short-term goal. That's a given. This task and improving RC don't compete

Re: Next step on reference counting topics

2014-05-15 Thread Andrei Alexandrescu via Digitalmars-d
On 5/15/14, 6:02 AM, Dicebot wrote: On Tuesday, 13 May 2014 at 15:14:16 UTC, Andrei Alexandrescu wrote: On 5/13/14, 6:43 AM, Dicebot wrote: On actual topic of next step - I agree with Jacob, removing all internal allocations from Phobos is most beneficial short-term goal. That's a given.

Re: Next step on reference counting topics

2014-05-15 Thread Dicebot via Digitalmars-d
On Thursday, 15 May 2014 at 15:46:13 UTC, Andrei Alexandrescu wrote: On 5/15/14, 6:02 AM, Dicebot wrote: On Tuesday, 13 May 2014 at 15:14:16 UTC, Andrei Alexandrescu wrote: On 5/13/14, 6:43 AM, Dicebot wrote: On actual topic of next step - I agree with Jacob, removing all internal allocations

Re: Next step on reference counting topics

2014-05-13 Thread Jacob Carlborg via Digitalmars-d
On 12/05/14 21:00, Andrei Alexandrescu wrote: There's been a lot of talk lately regarding improving resource management for D, and I'd like to figure the next logical step to take. It seems clear that we have reached a collective impasse on a few fundamentals, and that more just talk about it

Re: Next step on reference counting topics

2014-05-13 Thread Dicebot via Digitalmars-d
On Monday, 12 May 2014 at 19:00:33 UTC, Andrei Alexandrescu wrote: For that I'm proposing we start real work toward a state-of-the-art std.refcounted module. It would include adapters for class, array, and pointer types, and should inform language improvements for qualifiers (i.e. the

Re: Next step on reference counting topics

2014-05-13 Thread Dicebot via Digitalmars-d
On actual topic of next step - I agree with Jacob, removing all internal allocations from Phobos is most beneficial short-term goal.

Re: Next step on reference counting topics

2014-05-13 Thread Andrei Alexandrescu via Digitalmars-d
On 5/13/14, 6:41 AM, Dicebot wrote: On Monday, 12 May 2014 at 19:00:33 UTC, Andrei Alexandrescu wrote: For that I'm proposing we start real work toward a state-of-the-art std.refcounted module. It would include adapters for class, array, and pointer types, and should inform language

Re: Next step on reference counting topics

2014-05-13 Thread Andrei Alexandrescu via Digitalmars-d
On 5/13/14, 6:43 AM, Dicebot wrote: On actual topic of next step - I agree with Jacob, removing all internal allocations from Phobos is most beneficial short-term goal. That's a given. This task and improving RC don't compete (except, of course, for bearing on the same people). I ask again,

Re: Next step on reference counting topics

2014-05-13 Thread Timon Gehr via Digitalmars-d
On 05/13/2014 05:11 PM, Andrei Alexandrescu wrote: On 5/13/14, 6:41 AM, Dicebot wrote: On Monday, 12 May 2014 at 19:00:33 UTC, Andrei Alexandrescu wrote: For that I'm proposing we start real work toward a state-of-the-art std.refcounted module. It would include adapters for class, array, and

Re: Next step on reference counting topics

2014-05-13 Thread Dicebot via Digitalmars-d
On Tuesday, 13 May 2014 at 15:11:48 UTC, Andrei Alexandrescu wrote: On 5/13/14, 6:41 AM, Dicebot wrote: On Monday, 12 May 2014 at 19:00:33 UTC, Andrei Alexandrescu wrote: For that I'm proposing we start real work toward a state-of-the-art std.refcounted module. It would include adapters for

Re: Next step on reference counting topics

2014-05-13 Thread Dicebot via Digitalmars-d
On Monday, 12 May 2014 at 19:00:33 UTC, Andrei Alexandrescu wrote: There's been a lot of talk lately regarding improving resource management for D, and I'd like to figure the next logical step to take. It seems clear that we have reached a collective impasse on a few fundamentals, and that

Re: Next step on reference counting topics

2014-05-13 Thread Walter Bright via Digitalmars-d
On 5/13/2014 6:43 AM, Dicebot wrote: On actual topic of next step - I agree with Jacob, removing all internal allocations from Phobos is most beneficial short-term goal. I'm working on it. Could use some help!

Next step on reference counting topics

2014-05-12 Thread Andrei Alexandrescu via Digitalmars-d
There's been a lot of talk lately regarding improving resource management for D, and I'd like to figure the next logical step to take. It seems clear that we have reached a collective impasse on a few fundamentals, and that more just talk about it all is at the point of diminishing returns.