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 Support #2

Open
jkelleyrtp opened this issue Mar 1, 2021 · 1 comment
Open

WASM Support #2

jkelleyrtp opened this issue Mar 1, 2021 · 1 comment

Comments

@jkelleyrtp
Copy link

jkelleyrtp commented Mar 1, 2021

Awesome crate!! I'd love to make a little demo in a web app, but some of the deps don't compile for WASM.

Is this something you are interested in? I'd be happy to make a PR adding support if so.

@ekzhang
Copy link
Owner

ekzhang commented Mar 1, 2021

Thanks! A web-based path tracing demo would be awesome. Which dependencies don't compile? I imagine rand, rand_distr, and nalgebra-glm are probably fine. Is the issue rayon?

Happy to take any pull request that would enable a WebAssembly target. If rayon or other libraries aren't compatible, feel free to put the dependency behind an optional feature flag.

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

2 participants