On 17/08/2022 3:05 AM, Guillaume Piolat wrote:
On Tuesday, 16 August 2022 at 15:01:05 UTC, rikki cattermole wrote:

But one key difference is it is designed to work with the GC even if it is -betterC @nogc @safe nothrow.

How do you do that?

Via dub's injectSourceFiles (that I added).

https://github.com/Project-Sidero/basic_memory/blob/main/source/sidero/base/allocators/gc_hook.d

https://github.com/Project-Sidero/basic_memory/blob/main/source/sidero/base/allocators/gc.d

https://github.com/Project-Sidero/basic_memory/blob/main/source/sidero/base/allocators/locking.d#L111

Reply via email to