On Wednesday, 24 April 2019 at 10:52:14 UTC, jmh530 wrote:
On Wednesday, 24 April 2019 at 01:34:58 UTC, 9il wrote:

Thread safe RC Array and Ptr. Plus C++ headers for code integration.

[snip]

Cool.

Does this make any use of DIP1000? How is the run-time/memory performance vs. the GC versions?

RC types are created to be used with DIP1000. Plus, Mir Algorithm used in production with this DIP. See configuration "dips" [1]

Well, the allocator support is not ready yet. But the mir_rc_context already contains `void* allocator` that will be replaced in the future with nothrow @nogc allocator interface (maybe this or next year). For now, Mir RC types are like a C++ shared_ptr without allocators and with the same performance.

1. https://github.com/libmir/mir-algorithm/blob/master/dub.sdl#L26

Reply via email to