<div dir="ltr">>"<span style="font-family:arial,sans-serif;font-size:12.727272033691406px">Oh, but for sending messages between instances, you would have to queue</span><br style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<span style="font-family:arial,sans-serif;font-size:12.727272033691406px">the messages, and then it starts to get complicated.."</span><br>I think sticking to independent instances with no shared arrays/etc would be a great first step.<br>
<br><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">>"The idea of throwing all statis/externs into a data structure wouldn't</span><br style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<span style="font-family:arial,sans-serif;font-size:12.727272033691406px">extend to externs, which would be ugly since it would mean the API for</span><br style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<span style="font-family:arial,sans-serif;font-size:12.727272033691406px">internal objects would have to be different than for externs (which would</span><br style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<span style="font-family:arial,sans-serif;font-size:12.727272033691406px">have to make their own data structures, per-Pd-instance, and would have to</span><br style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<span style="font-family:arial,sans-serif;font-size:12.727272033691406px">have some way to look those up from the Pd instance."<br><br></span>Sorry, Im pretty new to this code, whats an extern in pdlib?<br><span style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br>
>"Also, the idea of</span><br style="font-family:arial,sans-serif;font-size:12.727272033691406px"><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">having a data structure that you have to change to add anthing static to</span><br style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<span style="font-family:arial,sans-serif;font-size:12.727272033691406px">anything at all inside Pd sounds quite heavy to me."<br></span><br>Well if the engine requires a static variable, it should be treated properly,<br>
whether thats implementing it as a global instance structure or some other mechanism,<br>different than simply declaring it static.<br><br style="font-family:arial,sans-serif;font-size:12.727272033691406px"><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">>"I'm liking the idea of simply "localizing" symbols and the DSP chain more</span><br style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<span style="font-family:arial,sans-serif;font-size:12.727272033691406px">and more as I think about it... it's nice and self-contained and I think it</span><br style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<span style="font-family:arial,sans-serif;font-size:12.727272033691406px">would help things a lot from what I'm hearing."<br><br>Well the first pass would definitely involve avoiding the need for a variable to be static in the first place.<br>
My brief skimming indicated that fit quite a few of them.<br><br><br>Does it make more sense for the instance structure to be a set of structures?<br><br></span><br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Dec 11, 2013 at 2:56 AM, Kjetil Matheussen <span dir="ltr"><<a href="mailto:k.s.matheussen@gmail.com" target="_blank">k.s.matheussen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On Wed, Dec 11, 2013 at 8:52 AM, Kjetil Matheussen<br>
<<a href="mailto:k.s.matheussen@gmail.com">k.s.matheussen@gmail.com</a>> wrote:<br>
> On Wed, Dec 11, 2013 at 3:55 AM, Miller Puckette <<a href="mailto:msp@ucsd.edu">msp@ucsd.edu</a>> wrote:<br>
>><br>
>> I'm liking the idea of simply "localizing" symbols and the DSP chain more<br>
>> and more as I think about it... it's nice and self-contained and I think it<br>
>> would help things a lot from what I'm hearing.<br>
>><br>
><br>
> Perhaps I misunderstand what you talk about, but for Radium,<br>
> I think a shared symbol table could be better.<br>
> Then you can share arrays and other things between instances.<br>
> (And patch specific symbol names should be injected with $0 anyway.)<br>
<br>
</div></div>Oh, but for sending messages between instances, you would have to queue<br>
the messages, and then it starts to get complicated...<br>
</blockquote></div><br></div>