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

Hans-Christoph Steiner hans at at.or.at
Wed Feb 22 15:37:51 CET 2012


On Feb 22, 2012, at 12:42 AM, Mathieu Bouchard wrote:

> Le 2012-02-21 à 11:12:00, Hans-Christoph Steiner a écrit :
> 
>> If you look at all the fundamental libraries that are ported and used everywhere, they are written in C.  freetype, ffmpeg, iconv, libjpeg, libpng, zlib, bzip2, sqlite, libquicktime, gmerlin, etc.  And of course... Pd :-)
> 
> STL is used in more different programmes than freetype, ffmpeg, libquicktime and gmerlin together, and it's all written in hardcore C++.
> 
> And how many apps use Qt ? That's all C++ as well.
> 
> Boost is a library... no... it's a large collection of C++ libraries... how many programmers use it ? There are 3000 people on the mailing-list, and then, there are other people.
> 
> What does « fundamental » mean ?

Meaning used widely and in many different programming languages.  STL, Qt, and Boost are all only used in C++. freetype, ffmpeg, iconv, libjpeg, libpng, zlib, bzip2, sqlite, etc. have been used in many many different languages.

.hc


----------------------------------------------------------------------------

                                              http://at.or.at/hans/





More information about the Pd-list mailing list