[Sugar-devel] Plan for HTML activities services

Gonzalo Odiard gonzalo at laptop.org
Mon Apr 29 08:51:50 EDT 2013


On Mon, Apr 29, 2013 at 9:40 AM, Daniel Narvaez <dwnarvaez at gmail.com> wrote:

> On 29 April 2013 14:07, Gonzalo Odiard <gonzalo at laptop.org> wrote:
>
>> I do not agree here. It's true a python WebActivity have a cost in
>> memory, but the value is this much easier to hack. This is a important
>> value, for us and for our users.
>>
>
> While this is true for a gtk3 activity I don't see why it would be the
> case for html.
>
> sugar-html-activity is going to be really simple as soon as the
> refactoring I'm proposing is completed. It will basically just create a
> WebView and load a url in it. Pretty much what we have right now in
> WebActivity (without inheriting all the Activity stuff). The rest of the
> code will all stay python, and hence as hackable, even if it will be in a
> different module.
>
> The problem isn't really much python but all the stuff we import in each
> Activity process. Needlessly, because we need to use IPC from javascript in
> any case.
>
> Anyway I don't think > 30 MB for a basically empty html activity is
> acceptable. And we didn't even look at startup time.
>

We need see what are we importing and what is really needed. If the problem
is not python, then there are not need of remove python at all.

Gonzalo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130429/e6da62e1/attachment.html>


More information about the Sugar-devel mailing list