On 05/02/2023 1:20 PM, Adam D Ruppe wrote:
Even module imports can fail because betterC disables outputting the module data info, even if it would otherwise be required by language rules, despite it not using the druntime.

This only affects you if you use full D to interact with -betterC code.

Even then it is very easy to work around.

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

-betterC DLL's do work with full D executables.

If all you need it for is gluing some stuff together don't listen to Adam about it not working, because it absolutely does and quite usable if you're not expecting there to be a GC.
      • Re: bet... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
      • Re: bet... bachmeier via Digitalmars-d-learn
        • Re:... Tamas via Digitalmars-d-learn
  • Re: betterC DLL ... Adam D Ruppe via Digitalmars-d-learn
    • Re: betterC... Tamas via Digitalmars-d-learn
      • Re: bet... Adam D Ruppe via Digitalmars-d-learn
        • Re:... Tamas via Digitalmars-d-learn
          • ... bachmeier via Digitalmars-d-learn
            • ... Adam D Ruppe via Digitalmars-d-learn
          • ... Adam D Ruppe via Digitalmars-d-learn
            • ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
              • ... Tamas via Digitalmars-d-learn
              • ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
              • ... Tamas via Digitalmars-d-learn
            • ... Tamas via Digitalmars-d-learn
              • ... bachmeier via Digitalmars-d-learn
              • ... H. S. Teoh via Digitalmars-d-learn
              • ... Tamas via Digitalmars-d-learn
  • Re: betterC DLL ... ryuukk_ via Digitalmars-d-learn

Reply via email to