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: how to include a C compiler? #309

Open
mortbopet opened this issue Sep 25, 2023 · 0 comments
Open

WASM: how to include a C compiler? #309

mortbopet opened this issue Sep 25, 2023 · 0 comments

Comments

@mortbopet
Copy link
Owner

For https://ripes.me/, using a C compiler diverges from what we do locally (where the user is expected to provide their own compiler binary).
Now, one could package a compiler binary into the WASM binary, but that would result in >100MBs worth of data having to be downloaded when users access the site - not an option.

Instead, we should look to e.g. how compiler explorer works (https://xania.org/201609/how-compiler-explorer-runs-on-amazon). We probably don't need the same kind of scale, so i'd think that a single instance running RISC-V binaries would be sufficient (would still require some thought as to how that server is financed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant