On Friday, 13 January 2017 at 16:50:37 UTC, Dsby wrote:
I will write more test before the frist release.
And the docs is null.
It on github: https://github.com/huntlabs/SmartRef
I hope you know https://code.dlang.org/packages/automem.
On Friday, 13 January 2017 at 16:50:37 UTC, Dsby wrote:
I write the ref count pointer and the scoped point in D.
it just Like cpp's shared_ptr , waek_ptr and unique_ptr .
Now, it is Developing.
I will write more test before the frist release.
And the docs is null.
It on github:
On Saturday, 14 January 2017 at 15:41:01 UTC, Dmitry Olshansky
wrote:
That is C++ smart_ptr has to be atomic, while its D counter
part may safely be non-atomic because everything is TLS be
default.
I assume you mean std::shared_ptr. The reference counting
semantics are atomic, but the I
On Monday, 16 January 2017 at 01:54:35 UTC, Dsby wrote:
On Sunday, 15 January 2017 at 17:24:25 UTC, biozic wrote:
On Sunday, 15 January 2017 at 15:56:30 UTC, Dsby wrote:
and : In
https://github.com/dlang/phobos/blob/master/std/typecons.d#L147
~this()
{
debug(Unique)
On Sunday, 15 January 2017 at 17:24:25 UTC, biozic wrote:
On Sunday, 15 January 2017 at 15:56:30 UTC, Dsby wrote:
and : In
https://github.com/dlang/phobos/blob/master/std/typecons.d#L147
~this()
{
debug(Unique) writeln("Unique destructor of ", (_p is
null)? null: _p);
On Sunday, 15 January 2017 at 15:56:30 UTC, Dsby wrote:
and : In
https://github.com/dlang/phobos/blob/master/std/typecons.d#L147
~this()
{
debug(Unique) writeln("Unique destructor of ", (_p is
null)? null: _p);
if (_p !is null) destroy(_p);
_p = null;
}
if the
On Sunday, 15 January 2017 at 15:42:19 UTC, Dsby wrote:
On Saturday, 14 January 2017 at 17:35:09 UTC, Nordlöw wrote:
On Friday, 13 January 2017 at 16:50:37 UTC, Dsby wrote:
I write the ref count pointer and the scoped point in D.
How do two of these differ from
-
On Saturday, 14 January 2017 at 17:35:09 UTC, Nordlöw wrote:
On Friday, 13 January 2017 at 16:50:37 UTC, Dsby wrote:
I write the ref count pointer and the scoped point in D.
How do two of these differ from
- https://dlang.org/phobos/std_typecons.html#.RefCounted
-
On 01/14/2017 04:41 PM, Dmitry Olshansky wrote:
> Not quite true, there is at least one huge advantage - thread-locality.
> That is C++ smart_ptr has to be atomic, while its D counter part may
> safely be non-atomic because everything is TLS be default.
And you can add a shared postblit overload
On Friday, 13 January 2017 at 16:50:37 UTC, Dsby wrote:
I write the ref count pointer and the scoped point in D.
How do two of these differ from
- https://dlang.org/phobos/std_typecons.html#.RefCounted
- https://dlang.org/phobos/std_typecons.html#.Unique
under
On Sat, 14 Jan 2017 11:52:34 +, nbro wrote:
> Garbage collection in D is more expensive just because of the poor
> implementation, from what I've heard. If that's the case, people who
> work on it should be able to improve it over time.
I posted about this in general.
A GC for Java, Python,
On Saturday, 14 January 2017 at 04:14:11 UTC, Chris Wright wrote:
It's reference counting.
Reference counting is like garbage collection, but deamortized.
This is better for real-time applications. However, it adds
overhead on every assignment and every variable going out of
scope.
In D,
On Sat, 14 Jan 2017 02:05:11 +, nbro wrote:
> On Friday, 13 January 2017 at 16:50:37 UTC, Dsby wrote:
>> I write the ref count pointer and the scoped point in D. it just Like
>> cpp's shared_ptr , waek_ptr and unique_ptr .
>> Now, it is Developing.
>> I will write more test before the frist
On Saturday, 14 January 2017 at 02:05:11 UTC, nbro wrote:
On Friday, 13 January 2017 at 16:50:37 UTC, Dsby wrote:
I write the ref count pointer and the scoped point in D.
it just Like cpp's shared_ptr , waek_ptr and unique_ptr .
Now, it is Developing.
I will write more test before the frist
On Friday, 13 January 2017 at 16:50:37 UTC, Dsby wrote:
I write the ref count pointer and the scoped point in D.
it just Like cpp's shared_ptr , waek_ptr and unique_ptr .
Now, it is Developing.
I will write more test before the frist release.
And the docs is null.
It on github:
I write the ref count pointer and the scoped point in D.
it just Like cpp's shared_ptr , waek_ptr and unique_ptr .
Now, it is Developing.
I will write more test before the frist release.
And the docs is null.
It on github: https://github.com/huntlabs/SmartRef
16 matches
Mail list logo