-
-
Notifications
You must be signed in to change notification settings - Fork 160
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
Browser support #90
Comments
(moved my comment from #18 to here) @slimsag I think it's promising not just for games but for cross-platform graphics of every kind. 👍🏽 Re: "Browser implementation of gpu.Interface", I am curious if you are planning to use Emscripten to build the Javascript <-> WASM glue code? I think that's the only way, currently, because in browser, only Javascript exposes the WebGPU driver. Also it seems there is definitely interest in using WebGPU for General Purpose GPU (Compute), across native platforms, in browser, and in WASI as well. Some related links, which might provide some ideas for more bespoke things involving shader pipelines etc |
Relevant proposal over here: ziglang/zig#10836 |
@guidorice you can use freestanding wasm32 and js glue code to access all js resources in zig, no emscripten needed. See for examples: |
Hello! May I ask what's the status of Browser support for now? |
As a quick and dirty solution can't we utilize emscripten/binaryen? Perhaps by generating a C file for emscripten to compile? |
Meta issue related to #21
The text was updated successfully, but these errors were encountered: