In betterC mode you don't have access to the standard library or the runtime

You can only access the libc functions

Basically the modules from: ``import core.stdc``

So for your example, just do like you'd do in C

As simple as that


As for DMD/LDC, easy:

DMD: reference compiler, fast compile time

LDC: LLVM based compiler, LLVM is slow, but provides great optimizations


It's common to use DMD for debug, fast iteration time, and LDC for release builds, so you en enjoy great performance
            • ... 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