[jsc-dev] [webkit-gtk] Enable WebAssembly on Linux based ports (GTK and JSCOnly)

Yusuke SUZUKI utatane.tea at gmail.com
Wed Mar 1 08:57:44 PST 2017

On Thu, Mar 2, 2017 at 1:36 AM, Saam Barati <sbarati at apple.com> wrote:

> On Mar 1, 2017, at 7:46 AM, Michael Catanzaro <mcatanzaro at igalia.com>
> wrote:
> On Wed, 2017-03-01 at 15:44 +0100, Carlos Garcia Campos wrote:
> We have recently branched for 2.16 so it's a perfect moment to enable
> it in trunk with very little risk.
> Is Apple planning to enable it within the next six months? If so, now
> is indeed the ideal time to enable it for WebKitGTK+.
> What do you mean by enable it? It's been on by default on the Mac port for
> a while now and has been in the various STP releases.
> I think it's a good idea to enable it on other ports too. Note that Keith
> is currently working on a patch to make loads faster in Wasm. It may
> require some OS specific handling to run well on Linux:
> https://bugs.webkit.org/show_bug.cgi?id=162693
Awesome! I think enabling WASM on Linux after landing Keith's faster memory
access patch (by using SEGV signal handling instead of bound checking) is
Once that patch is implemented and landed, we can start implementing
platform-specific part of that (extracting instruction pointer from
mcontext_t and signal handling part should be implemented for Linux).
I think that should be easy (since retrieving instruction pointer from
mcontext_t is already once implemented for sampling profiler. Thus, we can
share / re-implement the same thing for that).

> If not, then I'd prefer to wait until it's going to be enabled in the
> macOS port.
> Michael
> _______________________________________________
> jsc-dev mailing list
> jsc-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/jsc-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/jsc-dev/attachments/20170302/8f46d688/attachment.html>

More information about the jsc-dev mailing list