Steve;
That's basically true. Even if the compiler produced machine code as> We may be able to have a optimising compiler but we can't (preserving
> current functionality) condence the UGen graph like some digital modulars do
> (simplifying groups of UGens internally). Well, maybe we could but even
> thinking about it makes my head hurt. IMHO we need more facilities for
> hot-swapping UGens, not less.
fast as C, it would still issue calls to connect up UGens the same way
it is done now.
On the other hand, if the compiler really could generate code that
fast, it would be worthwhile to implement UGens directly in ChucK.
I've been playing more and more with LLVM lately, but still too early
to say anything. I was messing around with the ChucK compiler
previously, and found a few places to play with its opcode generator.
Don't hold your breath though, as I'm way too busy on other things. :)
I'd love to spend some more time with it in the summer though.