browsix icon indicating copy to clipboard operation
browsix copied to clipboard

Status of WASM support?

Open ids1024 opened this issue 5 years ago • 8 comments

What is the current status of support for executables in webassembly rather than asm.js? The most recent commit I can find related to it is ba4d26c06f3332caa1c42358cabbdae09c8c01cb. But #63 seems to suggest support for webassembly is currently in development, and this paper on arXiv talks about something called "browsix-wasm".

I don't see a branch or another repository that seems like it would correspond to that "browsix-wasm". Does this mean it exists (under development) but the code isn't (yet) publicly released for some reason?

ids1024 avatar Apr 06 '19 03:04 ids1024

It exists. It's coming. Some subset of us have an impending paper deadline. There will be some work merging it but it's in progress now!

emeryberger avatar Apr 06 '19 03:04 emeryberger

Thanks for the reply, and it's great to hear that there's more progress being made! Assuming the code is going to be posted here under the MIT license anyway, is there anything preventing it from being publicly shared to a branch (I can't particularly think of a reason, but there may be)?

ids1024 avatar Apr 06 '19 04:04 ids1024

Fair question. @bpowers @abhijangda ?

emeryberger avatar Apr 06 '19 17:04 emeryberger

Almost all of the Browsix-WASM changes (other than a couple of optimizations including optimizations in BrowserFS) had to be done in Emscripten. In "browsix-incoming-1.38-2" branch of https://github.com/bpowers/emscripten/ you can find code that does that. This is still in active development (with some bugs) and we will complete it soon.

abhijangda avatar Apr 06 '19 20:04 abhijangda

It'd be cool to make use of WASI combined with async-wasm to provide the APIs

RangerMauve avatar Apr 24 '19 06:04 RangerMauve

Hi guys, is this project still active? I saw the creator of Iodide mentioned something about using browsix as a solution for Pyodide's muti-threading, it would be cool to have wasm support.

cloudwalkerfre avatar Jan 03 '20 09:01 cloudwalkerfre

@emeryberger You said on Twitter that this works now. Were you referring to @abhijangda's branch? Thanks!

dbrock avatar Mar 21 '20 10:03 dbrock

Browsix has WebAssembly support merged in the master branch. You must use the default branch browsix-wasm of https://github.com/plasma-umass/browsix-emscripten as Emscripten.

abhijangda avatar Mar 21 '20 22:03 abhijangda