[D-runtime] Supporting different C libraries and architectures

Sean Kelly sean at invisibleduck.org
Sun Feb 26 13:03:16 PST 2012


As long as these symbols are extern (D) I don't think this is a problem. 

On Feb 26, 2012, at 6:41 AM, mta`chrono <chrono at mta-international.net> wrote:

> 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.
> _______________________________________________
> D-runtime mailing list
> D-runtime at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/d-runtime


More information about the D-runtime mailing list