betterC DLL in Windows

ryuukk_ ryuukk.dev at gmail.com
Sat Feb 4 23:58:48 UTC 2023


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


More information about the Digitalmars-d-learn mailing list