D with minimal runtime
Walter Bright
newshound2 at digitalmars.com
Mon Jun 15 20:50:37 UTC 2020
On 6/15/2020 3:16 AM, IGotD- wrote:
> As we have discussed before, the best way for this in my opinion is to have an
> abstract interface in druntime for the OS functions. This way we could stub
> those functions that the programmer doesn't need.
If you include the line:
extern (C) void printf() { }
somewhere in your code, printf() will *not* get linked in.
An extra interface layer is not necessary.
More information about the Digitalmars-d
mailing list