Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WASM compilation/Webapp proof of concept #8

Open
jon-chuang opened this issue Apr 3, 2020 · 2 comments
Open

WASM compilation/Webapp proof of concept #8

jon-chuang opened this issue Apr 3, 2020 · 2 comments

Comments

@jon-chuang
Copy link
Contributor

It would be nice if WASM tooling could be added. Short of creating a full webapp, it would be cool if people could simply benchmark performance on their browser. This is related to arkworks-rs/algebra#79 , and the WebGPU benchmarks in browser mode can also be added there.

WASM-specific optimisations may also have to be considered under given compilation options.

I have to investigate how to integrate WebGPU into a WASM compilation pipeline. I don't think it's too hard.

@Pratyush
Copy link
Member

Pratyush commented Apr 3, 2020

Most of the library (except dpc) supports no_std, so compiling to a wasm target is straightforward.

@howardwu
Copy link

howardwu commented Apr 3, 2020

I’ve been spending some time experimenting with WASM. For the purposes of Zexe, ‘no_std’ provides a sufficient level of support for WASM frameworks.

The bigger barrier I potentially see is insufficient memory / stack overflows when running in a browser. I think we can address these as they come.

@Pratyush Pratyush transferred this issue from arkworks-rs/snark Nov 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants