On 04/09/2011 06:50 AM, Cliff Hudson wrote:
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.)
I guess you are simply missing the point. You should re-read start-of-thread
messages.
Denis
--
_________________
vita es estrany
spir.wikidot.com