www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Dynamic bindings for OpenCL, libsndfile, FANN and BASS libraries

reply "ponce" <contact spamhause.org> writes:
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.
Sep 05 2013
next sibling parent reply "John Colvin" <john.loughran.colvin gmail.com> writes:
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...
Sep 05 2013
next sibling parent "John Colvin" <john.loughran.colvin gmail.com> writes:
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.
Sep 05 2013
prev sibling parent "ponce" <masterchief ilikespam.org> writes:
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.
Sep 05 2013
prev sibling parent "ponce" <contact gam3sfrommars.fr> writes:
 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
Sep 18 2013