What's the difference between https://github.com/D-Programming-Deimos/glfw and https://github.com/DerelictOrg/DerelictGLFW3

Mike Parker via Digitalmars-d digitalmars-d at puremagic.com
Sun Oct 19 16:57:33 PDT 2014


On 10/20/2014 4:11 AM, Edn wrote:
> Hello,
>
> what's the difference between
> https://github.com/D-Programming-Deimos/glfw and
> https://github.com/DerelictOrg/DerelictGLFW3
>
> thanks in advance

The bindings at Deimos have a link-time dependency on GLFW. Whether you 
want to link with the static library or link with the shared library, 
you need to with something when compiling your app. All of the bindings 
in Deimos are like this -- they are /static/ bindings.

The Derelict binding has no link-time dependency. You can build your app 
without having the development version of GLFW on your system. When the 
app is run, it searches the system path for the GLFW shared library and 
loads it into memory (you have to call DerelictGLFW3.load() for this to 
happen). All of the bindings in DerelictOrg are like this -- they are 
/dynamic/ bindings.

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com



More information about the Digitalmars-d mailing list