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

Mathieu Bouchard matju at artengine.ca
Wed Feb 22 06:46:14 CET 2012

Le 2012-02-21 à 17:00:00, IOhannes m zmoelnig a écrit :

> one problem with C++ is that name-mangling is different depending on 
> which compiler/linker you are using. this basically means, that you 
> cannot use your C++-library binary made with g++ in an application/... 
> build with e.g. M$VC. note that you can avoid this, if you provide a 
> public "C" API, and use C++ only as an implementation detail (e.g. and 
> pass classes around as anonymous structs)

So, are you switching GEM away from MSVC, or are you going to make a C API 
so that GEM can actually collaborate with other Pd-based frameworks that 
want to read its data on Windows ?

| Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC

More information about the Pd-list mailing list