<div dir="ltr"><br><br><div class="gmail_quote">On Sat, Aug 23, 2008 at 12:38 PM, Enrico Fracasso <span dir="ltr">&lt;<a href="mailto:enrico.fracasso@email.it">enrico.fracasso@email.it</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Fri, Aug 22, 2008 at 14:02, Marcelo Coraça de Freitas<br>
<div class="Ih2E3d">&lt;<a href="mailto:mfreitas@ydeasolutions.com.br">mfreitas@ydeasolutions.com.br</a>&gt; wrote:<br>
</div><div class="Ih2E3d">&gt; Just to let everyone know, it&#39;s working perfectly!<br>
</div>wonderful!<br>
<div class="Ih2E3d"><br>
&gt;<br>
&gt; We still gotta sandbox python and implement scripting support.<br>
</div>it seems to me that sandboxing python it&#39;s pretty hard: the old plugin<br>
had python completely disabled and we can do the same for the new one<br>
(initially).</blockquote><div><br>maybe you can contact the pypy people and ask them if this would be feasible with pypy? as far as i know pypy supports sandboxing and it recently has become very compatible with cpython and it isn&#39;t much slower anymore.<br>
&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<div class="Ih2E3d"><br>
&gt;<br>
&gt; Also, as the blenderplayer executable that&#39;s generate is 20m big each<br>
&gt; plugin instance uses at least this ammount of memory.<br>
&gt;<br>
&gt; A simple but yet efficient solution to this is to link the player<br>
&gt; dynamically.<br>
&gt;<br>
&gt; With this there is the problem of distributing a game created in<br>
&gt; blender, but couldn&#39;t we simply link another executable and use it,<br>
&gt; leaving the current blenderplayer executable the way it is?<br>
<br>
</div>I hope that multiple execution of the same executable share code<br>
section in memory (after all, how many web player executions do you<br>
expect concurrenty?).<br>
As far as blenderplayer is concerned, my modification can be included<br>
on normal blender player installation (so blenderplayer can be<br>
embedded on any other running program); using this solution the web<br>
plugin can use the blender player (already) installed on the system.<br>
<br>
bye<br>
<br>
--<br>
<font color="#888888">Enrico Fracasso<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
Bf-committers mailing list<br>
<a href="mailto:Bf-committers@blender.org">Bf-committers@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/bf-committers" target="_blank">http://lists.blender.org/mailman/listinfo/bf-committers</a><br>
</div></div></blockquote></div><br></div>