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

Research possibility to compile for WebAssembly #67

Open
FZambia opened this issue Sep 3, 2022 · 2 comments
Open

Research possibility to compile for WebAssembly #67

FZambia opened this issue Sep 3, 2022 · 2 comments

Comments

@FZambia
Copy link
Member

FZambia commented Sep 3, 2022

Would be nice if centrifuge-go could work in WASM env. At this moment there is no understanding which caveats we can meet on this way (some general understanding that we can't use Gorilla WebSocket in wasm, but still lots of questions about API side) - so first step would be collecting that understanding.

@FZambia
Copy link
Member Author

FZambia commented Sep 4, 2022

Did some research in #68

@gedw99
Copy link

gedw99 commented Sep 4, 2022

This is great

temoving fmt or http imports helps reduce size.

the other two bugs will require switching out the libs or waiting for tinygo to eventually have full reflect support.
timers is holding up other golang tinygo projects also

i would raise a linked issue on tinygo repo of the PR so they can see the blockers too.

will have a look at this next week !

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