[D-runtime] Supporting different C libraries and architectures
Jonathan M Davis
jmdavisProg at gmx.com
Sun Feb 26 06:30:24 PST 2012
On Sunday, February 26, 2012 15:13:30 David Nadlinger wrote:
> Just a few quick ideas, I must admit that I didn't really think the
> issue through yet:
>
> On 26 Feb 2012, at 14:32, Johannes Pfau wrote:
> > Kagamin suggested to add complete glibc, bionic, etc bindings to
> > deimos, then core.* could publically import the approriate modules
> > from deimos. […]
>
> This poses a question though: If we already have the files in Deimos,
> why offer the interfaces through druntime at all (besides backwards
> compatibility)? Which parts of Posix, … should be offered through
> core.*?
I think that it's more of an issue of "why are they in deimos?" They should
all be in druntime. The same goes of for any OS bindings. For instance, the
current plan is for all of the Win32 API bindings to be put into druntime. Why
wouldn't we do the same with glibc?
- Jonathan M Davis
More information about the D-runtime
mailing list