Re: saolc used in streaming enviroment

From: Ross Bencina (rossb@audiomulch.com)
Date: Tue Oct 19 1999 - 09:37:11 EDT


Hi Michel,

In this context (?) p-code is an sequence of instructions, usually for an
imaginary architecture representing a program. p-code can be interpreted
more quickly than other representations of program structure such as the
expression trees used in saolc. Java bytecode is I kind of p-code (more or
less). compilers often use such intermediate representations before
converting to the assembley language of a particular machine.

In practice, using a p-code machine to evaluate saol will be faster than
saolc and slower than sfront - in the long run I hope to achieve as good or
better performance than equivalent csound. The advantage over sfront will be
that it won't require a c compiler and that it will be easier to load new
instruments into a running system (which is important for me.) I'm not
trying to detract from SAINT, another SA decoder can only be a good thing.

Ross.

Michel Jullian:

>What will this do in practice, and what is p-code ?
>
>Ross Bencina wrote:
>>
>> >I would suggest that if someone wants to try to build such
>> >a system, it is a good time and they could coordinate with
>> >Giorgio on SAINT development. It would also be possible
>> >with sfront, but slightly more complex due to the issue of
>> >having an intermediate C-compiling step. Perhaps John
>> >has thought about this issue and can comment.
>>
>> Just for the record, I'm working on a p-code saol backend (presently
using
>> sfront for the front end) tentatively called sarun. Because of the whole
GPL
>> thing I expect to be able to leverage a large portion of John's opcode
code
>> and get something up and running relatively quickly. I'm planning to
>> implement a number of non-normative features such as loading new
instruments
>> on the fly, dynamic (re-)routing/scheduling of instruments etc.
>>
>> Best,
>>
>> Ross.
>
>--
>Greetings,
>Michel
>.........................................................................
> Michel Jullian Directeur General email mj@exbang.com
> Exbang Industries S.A.
> Mas Chauvain route de Villeneuve tel +33(0) 499 529 878
> Maurin 34970 Lattes France fax +33(0) 499 529 879
>.........................................................................



This archive was generated by hypermail 2b29 : Wed May 10 2000 - 12:15:39 EDT