<div dir="ltr"><br><br><div class="gmail_quote">On Sat, Aug 23, 2008 at 12:38 PM, Enrico Fracasso <span dir="ltr"><<a href="mailto:enrico.fracasso@email.it">enrico.fracasso@email.it</a>></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"><<a href="mailto:mfreitas@ydeasolutions.com.br">mfreitas@ydeasolutions.com.br</a>> wrote:<br>
</div><div class="Ih2E3d">> Just to let everyone know, it's working perfectly!<br>
</div>wonderful!<br>
<div class="Ih2E3d"><br>
><br>
> We still gotta sandbox python and implement scripting support.<br>
</div>it seems to me that sandboxing python it'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't much slower anymore.<br>
</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>
><br>
> Also, as the blenderplayer executable that's generate is 20m big each<br>
> plugin instance uses at least this ammount of memory.<br>
><br>
> A simple but yet efficient solution to this is to link the player<br>
> dynamically.<br>
><br>
> With this there is the problem of distributing a game created in<br>
> blender, but couldn't we simply link another executable and use it,<br>
> 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>