<div dir="ltr"><div dir="ltr">Em qui., 6 de ago. de 2020 às 16:08, Jonathan Wilkes <<a href="mailto:jancsika@yahoo.com">jancsika@yahoo.com</a>> escreveu:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px"><div id="gmail-m_2512165323727918920ydpe065550byahoo_quoted_7567702770">
        <div>> On Thursday, August 6, 2020, 2:07:09 PM EDT, matthew brandi <<a>mfbrandi@outlook.com</a>> wrote:
                
                </div><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;color:rgb(38,40,42)"><div><br></div>
                
                <div><div dir="ltr">> Dear people<br></div><div dir="ltr"><br></div><div dir="ltr">> In my role as village idiot, I am asking whether the string "fwd" in a message has a<br></div><div dir="ltr">special meaning to inlet.<br></div><div dir="ltr"><br></div><div dir="ltr">> Naively, I was expecting inlet to pass the string to the subpatch, but it seems not<br></div><div dir="ltr">to. See example patch attached.<br></div><div><br></div><div dir="ltr">AFAICT that's a regression due to the way Pd Vanilla implemented message forwarding for <br></div><div dir="ltr"> [inlet~ fwd]. That's a feature that allows a signal inlet of a subpatch/abstraction to forward <br></div><div dir="ltr">non-signal messages to the right outlet of [inlet~ fwd]. (The right outlet sprouts when the <br></div><div dir="ltr">"fwd" argument is present.)</div><div dir="ltr"><br></div><div dir="ltr">Another regression-- there is no longer an error if you try to send a non-signal message to <br></div><div dir="ltr">[inlet~].</div><div dir="ltr"><br></div><div dir="ltr">Another regression-- [inlet~ fwd] unconditionally allocates space on the stack to copy the <br></div><div dir="ltr">entire incoming message. If you generate a long enough message this will blow the stack <br></div><div dir="ltr">and cause Pd to crash. Esp. important given that Windows stack is much smaller than the RAM <br></div><div dir="ltr">available for heap allocation on most machines.</div><div dir="ltr"><br></div><div dir="ltr">Also-- I *think* Pd Vanilla doesn't forward pointer messages through [inlet~ fwd]. It appeared to be an oversight-- at least I didn't see any comment about it.<br></div><div dir="ltr"><br></div><div dir="ltr">A GSoC student spent some time reimplementing this in Purr Data, so none of thiese should be <br></div><div dir="ltr">issues there.</div></div></div></div></div></div></blockquote><div><br></div><div><br></div><div>I think it's a good idea if you're changing and fixing stuff to also send a PR to vanilla as a proposal. Would you consider doing that as well?  </div></div></div>