On 29 September 2013 20:12, Jacob Carlborg <[email protected]> wrote: > On 2013-09-29 19:57, Joseph Rushton Wakeling wrote: > >> I don't understand why the solution wasn't (or couldn't be) designed >> from the start to work with all three D compilers. Can anyone offer an >> explanation? > > > I think Walter picked an easy solution that he know would work. I don't > think he knew about platform specific functions such as > "getsectbynamefromheader" and "dl_iterate_phdr". >
I've spoken to Walter about this before, he was quite open about taking a "make it work, then try to make it pretty" approach to things. My biggest pet peeve is probably how dmd treats va_arg a totally inconsistent way across each platform dmd supports. In comparison gdc handles va_arg in one way, and it is identical across each platform supported (and platforms that have not yet gotten support ;) Regards -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0';
