[webkit-dev] webkit2 with v8

Sam Weinig weinig at apple.com
Mon Apr 23 14:53:41 PDT 2012


Hi Balazs,

This is something we don't want at this time.  Dealing with V8 in WebCore is pretty big maintenance burden and one I would rather not have in WebKit2 unless there is considerable demand for it.  

In your patch (attached to https://bugs.webkit.org/show_bug.cgi?id=84457), there are many intrusive changes to core WebKit2 code, making it harder to comprehend and refactor. 
Also, since a much bigger proportion of developers who develop WebKit2 don't ever compile V8, it seems more likely that the code will stop working.

-Sam

On Apr 23, 2012, at 3:28 AM, Balazs Kelemen <kbalazs at webkit.org> wrote:

> Hi everyone,
> 
> I would like to inform you about the topic I am working on, since it is something
> that can affect WebKit2 architecturally. I would like to make WebKit2 work with v8.
> The motivation behind this is that the long term goal of the Qt port is to switch to v8.
> Qt already use v8 in it's Qml module, and it's better to have only one VM in the framework
> (less code size, less memory usage, easier maintenance).
> 
> My goal is to achieve this with the minimal amount of changes made in WebKit2. My plan
> for WebKitTestRunner is to wrap v8 behind the JavaScriptCore API (or, in another point of
> view, implement the JSC API upon the v8 API). For the core of WebKit2 we will have to use
> some bindings for things like plugins or the injected bundle but it should be not too much of
> a maintenance burden.
> 
> Inform me if you have any concerns or suggestion.
> 
> Cheers!
> Balazs Kelemen
> 
> 
> 
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev



More information about the webkit-dev mailing list