Thread overview
Dynamic bindings for OpenCL, libsndfile, FANN and BASS libraries
Sep 05, 2013
ponce
Sep 05, 2013
John Colvin
Sep 05, 2013
John Colvin
Sep 05, 2013
ponce
Sep 18, 2013
ponce
September 05, 2013
Greetings,

I've updated my "derelictified" dynamic bindings for:
- OpenCL the Computing Library (thanks goes to vuaru)
- BASS, an audio library
- FANN, a neural network library
- libsndfile, a library which read and write a variety of audio files

The FANN and libsndfile bindings also include an OO wrapper.
These bindings are _not_ official Derelict bindings, they are just using DerelictUtil.

They should all be accessible and more-or-less ready-to-go through the dub registry.
September 05, 2013
On Thursday, 5 September 2013 at 12:29:08 UTC, ponce wrote:
> Greetings,
>
> I've updated my "derelictified" dynamic bindings for:
> - OpenCL the Computing Library (thanks goes to vuaru)
> - BASS, an audio library
> - FANN, a neural network library
> - libsndfile, a library which read and write a variety of audio files
>
> The FANN and libsndfile bindings also include an OO wrapper.
> These bindings are _not_ official Derelict bindings, they are just using DerelictUtil.
>
> They should all be accessible and more-or-less ready-to-go through the dub registry.

Well that saves me some time, I was working on FANN bindings from scratch and bringing a fork of cl4d up to date.

Looks like vauru has already got cl4d set up to use these new bindings, so I guess I'll take a look at his work.


I'm not 100% sold on everything being dynamic though. I wonder if there's a way to unify the bindings so that both options can be generated...
September 05, 2013
On Thursday, 5 September 2013 at 14:55:12 UTC, John Colvin wrote:
> On Thursday, 5 September 2013 at 12:29:08 UTC, ponce wrote:
>> Greetings,
>>
>> I've updated my "derelictified" dynamic bindings for:
>> - OpenCL the Computing Library (thanks goes to vuaru)
>> - BASS, an audio library
>> - FANN, a neural network library
>> - libsndfile, a library which read and write a variety of audio files
>>
>> The FANN and libsndfile bindings also include an OO wrapper.
>> These bindings are _not_ official Derelict bindings, they are just using DerelictUtil.
>>
>> They should all be accessible and more-or-less ready-to-go through the dub registry.
>
> Well that saves me some time, I was working on FANN bindings from scratch and bringing a fork of cl4d up to date.
>
> Looks like vauru has already got cl4d set up to use these new bindings, so I guess I'll take a look at his work.
>
>
> I'm not 100% sold on everything being dynamic though. I wonder if there's a way to unify the bindings so that both options can be generated...

Having taken a look at the FANN wrapper, it seems quite minimal.

I've got a semi-finished D-ified port of the FANN c++ API somewhere, if that would be of interest to you I could probably dig it up and finish it.
September 05, 2013
On Thursday, 5 September 2013 at 14:55:12 UTC, John Colvin wrote:
> I'm not 100% sold on everything being dynamic though. I wonder if there's a way to unify the bindings so that both options can be generated...

I guess it's down to personal preference, it's probably better to provide both. But yeah duplicated work between dynamic and static bindings is unfortunate.

> I've got a semi-finished D-ified port of the FANN c++ API somewhere, if that would be of interest to you I could probably dig it up and finish it.

I'd be interested seeing this wrapper indeed.
September 18, 2013
> I've updated my "derelictified" dynamic bindings for:
> - OpenCL the Computing Library (thanks goes to vuaru)
> - BASS, an audio library
> - FANN, a neural network library
> - libsndfile, a library which read and write a variety of audio files

Added Enet bindings:
https://github.com/p0nce/DerelictENet