Windows API and druntime/Phobos
Jonathan M Davis
jmdavisProg at gmx.com
Tue Jan 24 20:48:11 PST 2012
The level of support for the Windows API in druntime and Phobos is pretty low.
As I understand it, Windows users are pretty much forced to use
http://www.dsource.org/projects/bindings/browser/trunk/win32 if they need
comprehensive Win32 API bindings. druntime seems to be trying to define all of
the OS-specific stuff like that, but on top of it missing much of it, in the
case of the Win32 API, that's a _lot_ of functions, and I don't know if we
want to put that much in druntime. So, the question is, how do we want to
support the Win32 API in druntime and Phobos?
Do we want to put all of the Win32 API bindings in druntime? If not, then do
we want to put them in Phobos? Or do we just want to send Windows developers
to a 3rd party library like the Win32 bindings project on dsource? Given that
they're OS bindings, I would _think_ that we'd want them in druntime, but I
don't know.
Regardless, this is one of those issues which frequently plagues D Windows
developers, and we really should at least get a plan together as to how we
want to handle it.
- Jonathan M Davis
P.S. A related pull request: https://github.com/D-Programming-
Language/druntime/pull/139
More information about the Digitalmars-d
mailing list