On Wednesday, 19 July 2023 at 11:27:14 UTC, Richard (Rikki) Andrew Cattermole wrote:

druntime supports registering of GC's not compiled with druntime.

But because some of the machinery isn't available to you, you would have to recreate it.

Oh right, so it's more of a matter of making GC-related code part of the GC implementation so that it's more convenient for others to build their own GC on top of it.

So in practice you cannot find a GC on the dub-registry to try it out. Even if one were to exist, you would have to do a new build of druntime/phobos special which isn't the easiest thing to do.

Just to confirm: would none of this would require *me* recompiling DRuntime at all, or is it that DRuntime would have to be modified to the point where anyone else registering a unique GC from user code wouldn't have to recompile DRuntime?
  • Re: Garbage Coll... Sergey via Digitalmars-d-learn
    • Re: Garbage... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
    • Re: Garbage... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
      • Re: Gar... IchorDev via Digitalmars-d-learn
        • Re:... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
          • ... IchorDev via Digitalmars-d-learn
            • ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
              • ... IchorDev via Digitalmars-d-learn
              • ... Johan via Digitalmars-d-learn
                • ... Steven Schveighoffer via Digitalmars-d-learn
    • Re: Garbage... Steven Schveighoffer via Digitalmars-d-learn

Reply via email to