[PD] C++ for reusable dsp lib - or better use C?
Marvin Humphrey
marvin at rectangular.com
Tue Feb 21 17:42:11 CET 2012
On Tue, Feb 21, 2012 at 10:59:59AM -0500, Mathieu Bouchard wrote:
> ABI compatibility is still an issue with C++.
In addition to name mangling, calling convention and other issues accross
compilers, C++ presents problems with ABI incompatibility even when using the
same compiler. If your library is designed with user-extensible classes,
choosing C++ places severe constraints upon core development -- no new virtual
methods or member variables in non-leaf classes, etc:
http://techbase.kde.org/Policies/Binary_Compatibility_Issues_With_C%2B%2B
The comment thread here may be germane (it describes some of the reasons we
avoided C++ for Apache Lucy):
https://issues.apache.org/jira/browse/LUCY-5
Marvin Humphrey
More information about the Pd-list
mailing list