[PD] C++ for reusable dsp lib - or better use C?

august august at alien.mur.at
Wed Feb 22 13:59:04 CET 2012


> But indeed, C++ ABI complexities make it harder to get a C++ lib
> working always and everywhere. I've come across the MSVC/GNU
> incompatibility, but didn't know about the GNU version conflicts
> mentioned by Mathieu.

Hi Katja,

You might want to have a look at a language called Vala:

	https://live.gnome.org/Vala

It's an OOP language ( looks like  C#) that compiles down to OOP C.   That way,
it is ABI compliant with all other C libs.  You can also create a C lib
yourself from it.

It was written with GNOME's GObject in mind,  so anything you write in Vala
would depend on libglib and libgobject....which may or may not be what you
want.  However, if you are creating a DSP library, the larger set of utility
features that libglib has to offer might come in handy.

best 

-august.

-- 
http://aug.ment.org
GPG: 0A8D 2BC7 243D 57D0 469D  9736 C557 458F 003E 6952




More information about the Pd-list mailing list