simple display (from: GUI library for D)

Cliff Hudson cliff.s.hudson at gmail.com
Fri Apr 8 21:50:11 PDT 2011


So is the objective to create a windowing library, or a drawing library for
(for example) games?  The two are rather different - though you can build a
windowing library on top of a drawing library, doing so is pointless given
the plethora of GUI libraries already out there, several with D bindings.
 If the bindings are hard to use, I'd address that directly rather than
creating a whole new one.

If you are building a drawing library, I'd definitely co-opt an existing one
(SDL would be a good place, in particular since its license seems favorable
and the API is well known.)  In fact, a good game-oriented library for D I
think would be a fabulous idea.  D has a lot to offer game developers, a
great mix of the high level and the low.  I don't know if it is popular with
this crowd, but Microsoft DirectX or the XNA Framework might be a good place
to go for pattern ideas as well.

But generally I'd strive to not create new APIs, just new implementations
(as necessary.)

On Fri, Apr 8, 2011 at 7:18 PM, Adam D. Ruppe <destructionator at gmail.com>wrote:

> On Fri, Apr 08, 2011 at 06:40:47PM -0700, Cliff Hudson wrote:
> > Have you considered patterning your API off an existing (preferably
> popular)
> > one?
>
> That's essentially what I'm doing - it's a very thin wrapper around
> the operating system libraries, meant to just make it easy.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20110408/78ae269e/attachment.html>


More information about the Digitalmars-d mailing list