Re: [linux-audio-dev] XAP: a polemic

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] XAP: a polemic
From: David Olofson (david_AT_olofson.net)
Date: Sun Dec 15 2002 - 02:19:08 EET


On Sunday 15 December 2002 01.10, Steve Harris wrote:
> On Sun, Dec 15, 2002 at 12:25:46 +0100, David Olofson wrote:
> > Well, I don't exactly know Objective C, but I've read up on the
> > basics, for reasons I can't remember... (Probably to see if it
> > was the "C++ done right" I was looking for. In that case, it was
> > not, because the contructs are *higher* level; not lower.)
>
> Yes, that was my conclusion too. Its much cleaner than c++, but its
> pretty slow. I'm quite supprised that Apple went for it for DSP
> code.

OTOH, have you looked at how the VST host/plugin interface is
actually implemented? Pretty "interesting". :-) (And here we worry
about function call overhead...)

> There are ways of speeding up the message passing, but the're
> pretty ugly, and they dont solve it 100%. My current prefered
> solution is OO style C, which is pretty clean, but doesn't give you
> inheritnace and a few other things, which would be nice.

Well, there's always struct-in-struct + typecasts... ;-)

Seriously though, I think a plugin API of this kind *needing* C++
would suggest that there's something wrong with the design. It
shouldn't be that complex.

//David Olofson - Programmer, Composer, Open Source Advocate

.- The Return of Audiality! --------------------------------.
| Free/Open Source Audio Engine for use in Games or Studio. |
| RT and off-line synth. Scripting. Sample accurate timing. |
`---------------------------> http://olofson.net/audiality -'
   --- http://olofson.net --- http://www.reologica.se ---


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sun Dec 15 2002 - 02:22:32 EET