On 02/08/2021 5:18 AM, Alain De Vos wrote:
A simple and small wrapper around for instance the C-library libpq should be part of the language itself and should not pull in more than libpq itself.

Just so that we are all using the same terminology.

A binding defines the functions and types as per the external libraries headers. It may be dynamically loaded and require a loader also, there is no bloat for this.

A wrapper uses a binding but makes it more D friendly or even @safe. I think based upon your description that you are looking for a binding not a wrapper.

The only binding I could find was derelictpq which hasn't been updated to bindbc (not that it should matter too much). https://github.com/DerelictOrg/DerelictPQ

Reply via email to