[linux-audio-dev] soft synth as a plugin

Steve Harris S.W.Harris at ecs.soton.ac.uk
Fri Oct 18 09:35:00 UTC 2002


On Fri, Oct 18, 2002 at 12:44:56 +0000, Stefan Nitschke wrote:
> >Hmmm... My experiments with c++, dsp code and gcc (recent 2.96) did not
> >turn out very well. For some reason the optimiser totaly chokes on c++
> >code. I only tried one routine, and I'm no c++ expert, so its possible I
> >screwed something up, but it did not look encouraging. I will revisit this
> >and also try gcc3, which has much better c++ support IIRC.
> 
> I think gcc is in general not the best choice when you want to have highly 
> optimized code. I had no problems with C++ so far. You should avoid to use 
> pointers when ever possible and use references instead. RTSynth is written 
> in C++ and it performs quite well i think...

gcc3 actualy makes a good job of C, gcc2 was not so good.

- Steve



More information about the Linux-audio-dev mailing list