[D-runtime] Supporting different C libraries and architectures

mta`chrono chrono at mta-international.net
Sun Feb 26 06:41:37 PST 2012


Am 26.02.2012 15:13, schrieb David Nadlinger:
>> Technically this means druntime depends on deimos, but those are only
>> bindings which could be compiled/shipped with druntime.
>
> Note aside: Deimos bindings never ever need to be compiled. If they do
> require linking in symbols besides the C library itself, it's a bug
> (at least in my opinion).

There are a lot of excessive macros in C librarys and since there's no
preprocessor in D, they'll mostly be covered by wrapper functions. So
commonly deimos isn't just a thin binding, it often adds it's own symbols.


More information about the D-runtime mailing list