<div dir="ltr">&gt;&quot;<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..&quot;</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">&gt;&quot;The idea of throwing all statis/externs into a data structure wouldn&#39;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.&quot;<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>
&gt;&quot;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.&quot;<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">&gt;&quot;I&#39;m liking the idea of simply &quot;localizing&quot; 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&#39;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&#39;m hearing.&quot;<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">&lt;<a href="mailto:k.s.matheussen@gmail.com" target="_blank">k.s.matheussen@gmail.com</a>&gt;</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>
&lt;<a href="mailto:k.s.matheussen@gmail.com">k.s.matheussen@gmail.com</a>&gt; wrote:<br>
&gt; On Wed, Dec 11, 2013 at 3:55 AM, Miller Puckette &lt;<a href="mailto:msp@ucsd.edu">msp@ucsd.edu</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m liking the idea of simply &quot;localizing&quot; symbols and the DSP chain more<br>
&gt;&gt; and more as I think about it... it&#39;s nice and self-contained and I think it<br>
&gt;&gt; would help things a lot from what I&#39;m hearing.<br>
&gt;&gt;<br>
&gt;<br>
&gt; Perhaps I misunderstand what you talk about, but for Radium,<br>
&gt; I think a shared symbol table could be better.<br>
&gt; Then you can share arrays and other things between instances.<br>
&gt; (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>