Mixing libraries

Mike Parker via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Mar 1 17:02:39 PST 2017


On Wednesday, 1 March 2017 at 16:12:06 UTC, bauss wrote:

>
> There is a better binding.
>
> dsfml.
>
> You can find it here: http://dsfml.com/

DSFML technically is not a binding (even though it says such on 
the web site). It's a wrapper that D-ifies the SFML API. The SFML 
functions are not callable directly, as they are all declared 
privately. DerelictSFML is strictly a binding, with no attempt to 
wrap anything. A wrapper like DSFML could be implemented on top 
of DerelictSFML.

So yes, it's better if what you really want is a wrapper.


More information about the Digitalmars-d-learn mailing list