WinAPI for druntime and OpenGL for deimos.
Vladimir Panteleev
vladimir at thecybershadow.net
Fri Nov 23 05:09:44 PST 2012
(Disclosure: I contributed to this project)
The Win32 bindings are excellent. I believe your points are
invalid.
On Friday, 23 November 2012 at 11:43:21 UTC, Gor Gyolchanyan
wrote:
> 1. It has some pragma(lib, ...) declarations which aren't being
> met and
> which assume some things, that aren't true.
The libraries are here:
http://dsource.org/projects/bindings/browser/trunk/lib
And the definition files for these libraries are here:
http://dsource.org/projects/bindings/browser/trunk/def
> 2. It uses version identifiers to determine the, you guessed
> it, version of
> Windows in question. This is very bad, since it won't compile
> without at
> least some version identifiers
This is how the C headers work. The targeted Windows version is a
preprocessor define.
It compiles just fine without any version identifiers, but it
will target an old Windows version (95 or 98).
> and I'm sure we can make the OS version
> available at compile-time to obviate the need for those version
> identifiers.
This is a horrible idea. YOU ARE NOT TARGETING THE ENVIRONMENT
YOU ARE BUILDING FROM!
> 3. It includes tons of obsolete stuff, that cannot and will not
> be used
> ever, which are hard to track down and extract.
These headers have a long development history and are generally
rather polished. You are suggesting to throw away all that and
replacing them with something of your own?
More information about the Digitalmars-d
mailing list