---------- Forwarded message ----------<br><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">From: Walter Bender <<a href="mailto:walter.bender@gmail.com">walter.bender@gmail.com</a>><br>
To: Lucian Branescu <<a href="mailto:lucian.branescu@gmail.com">lucian.branescu@gmail.com</a>><br>Date: Sun, 21 Mar 2010 21:10:59 -0400<br>Subject: Re: [Sugar-devel] [GSoC] Sugar Browser<br>On Sun, Mar 21, 2010 at 8:27 PM, Lucian Branescu<br>
<<a href="mailto:lucian.branescu@gmail.com">lucian.branescu@gmail.com</a>> wrote:<br>
> On 22 March 2010 00:12, Benjamin M. Schwartz <<a href="mailto:bmschwar@fas.harvard.edu">bmschwar@fas.harvard.edu</a>><br>
> wrote:<br>
>><br>
>> Lucian Branescu wrote:<br>
>> > I am inclined to choose the second for a few reasons. First, current<br>
>> > webkit<br>
>> > is much faster and uses less memory than current gecko, which has been<br>
>> > especially visible on XOs.<br>
>><br>
>> I'm not willing to accept this as proven. As for faster, see<br>
>> <a href="http://weblogs.mozillazine.org/bz/archives/020434.html" target="_blank">http://weblogs.mozillazine.org/bz/archives/020434.html</a><br>
>><br>
>> As for memory usage, see<br>
>> <a href="http://dotnetperls.com/chrome-memory" target="_blank">http://dotnetperls.com/chrome-memory</a><br>
><br>
> Of course Chrome usage is much higher. Chrome has at least one process for<br>
> each tab.<br>
> Safari is also a wreck, especially on Windows.<br>
>><br>
>> Webkit may be faster (although... with which javascript engine? on what<br>
>> graphics hardware? with which bookmarks/awesomebar system?) but I don't<br>
>> think it's so obvious. Previous comparisons on the XO have been deeply<br>
>> flawed because Gecko was scaling up all fonts and images, while Webkit was<br>
>> not.<br>
><br>
> The test I have done both on OS X and soas have shown webkit to be far<br>
> superior in execution speed and still superior in memory usage for<br>
> benchmarks. These weren't entirely relevant, so I will do another set of<br>
> benchmarks that are more relevant to XO usage (with firefox 3.6).<br>
> Here are my old results:<br>
> <a href="http://dl.dropbox.com/u/317039/webkit%20vs%20gecko%20osx.txt" target="_blank">http://dl.dropbox.com/u/317039/webkit%20vs%20gecko%20osx.txt</a><br>
> <a href="http://dl.dropbox.com/u/317039/webkit%20vs%20gecko%20soas.txt" target="_blank">http://dl.dropbox.com/u/317039/webkit%20vs%20gecko%20soas.txt</a><br>
> <a href="http://dl.dropbox.com/u/317039/webkit%20vs%20gecko%20winxp.txt" target="_blank">http://dl.dropbox.com/u/317039/webkit%20vs%20gecko%20winxp.txt</a><br>
>><br>
>> > While gecko has superior extendability (XUL<br>
>> > extensions), Browse isn't compatible with Firefox extensions, so<br>
>> > anything<br>
>> > would need to be rewritten anyway. Userscripts (Greasemonkey) serve most<br>
>> > needs for now and if needed, an extension API akin to Mozilla's Jetpack<br>
>> > or<br>
>> > Chrome's extensions could be implemented.<br>
>><br>
>> This sounds like an argument for staying with Gecko and adopting<br>
>> Greasemonkey and Jetpack.<br>
><br>
> It's an argument for not really needing Gecko. Both could be implemented on<br>
> Webkit.<br>
>><br>
>> > Second, webkit is being used by a lot of projects and has the backing of<br>
>> > several companies.<br>
>><br>
>> Gecko is far more widely deployed (~30% of all internet users).<br>
><br>
> The arguments other people have given to me have to do with how many<br>
> projects use it (maintained by many companies/communities).<br>
>><br>
>> > Furthermore, it is packaged more consistently across<br>
>> > platforms/distributions.<br>
>><br>
>> I'm not sure what this means, but it doesn't seem critical.<br>
><br>
> Xulrunner tends to have many patches applied by distros. Webkit doesn't.<br>
>><br>
>> > Third, pywebkitgtk and hulahop have a similar API (and pywebkitgtk tries<br>
>> > not<br>
>> > to diverge unless necessary) and it should be possible to not depend too<br>
>> > much on any one of them. A thin abstraction layer could be written on<br>
>> > top to<br>
>> > handle most differences and it should only rarely be needed to go<br>
>> > beneath<br>
>> > this abstraction. While this would most likely not result in a browser<br>
>> > than<br>
>> > can switch engines at runtime, it should make any future porting much<br>
>> > easier.<br>
>><br>
>> I'm certainly not going to complain about an abstraction layer of this<br>
>> sort. As I've said before, I think a lot of developers would enjoy an<br>
>> "engine-agnostic" browser widget.<br>
>><br>
>> --Ben<br>
>><br>
><br>
><br>
> _______________________________________________<br>
> Sugar-devel mailing list<br>
> <a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
> <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
><br>
><br>
<br>
While performance differences might be somewhat interesting, the fact<br>
that tests tend to be inconclusive suggests it is not a compelling<br>
reason to choose one over the other. I think one point that Lucian<br>
made is being lost in the discussion: maintainability. Is a<br>
webkit-based browser going to be easier to maintain in the near to<br>
long term?<br>
<br>
-walter<br>
<br>
--<br>
Walter Bender<br>
Sugar Labs<br>
<a href="http://www.sugarlabs.org" target="_blank">http://www.sugarlabs.org</a><br><br></blockquote></div><br></div><div>Yes, surely maintainability over the long term should be a major concern in making any decision. I think the fact that Mozilla might lose support for XPCOM ( if that's true) is something that matters. However, developing the webkit-based browser during gsoc( to explore the possibilities) along with maintaining browse is what might be a good solution.</div>
<div><br></div><div>Regards,</div><div>VIJIT</div>