-
Notifications
You must be signed in to change notification settings - Fork 2
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
Golang has WebAssembly support now, version 1.11 added wasm support #1
Comments
Yes, would you mind sending a PR to update the setup here? and the doc? |
Seems not to be that simple, things go boom with Go 1.11.4:
My guess is that the structure of the WASM generated by the Go compiler has changed since the |
@aaronpowell this looks more to me like an encoding issue. Would you mind trying to load the Wasm module into a Node.js instance or could you please send me it? |
Done:
It appears to execute the |
Ok, thanks for the confirmation, it's definetly a bug on our side. Could you please send me your wasm module? You can send it to my email privately. |
That was the output of running the sample in this git repo.
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Sven Sauleau <[email protected]>
Sent: Wednesday, January 16, 2019 9:19:40 PM
To: wasm-tool/golang
Cc: Aaron Powell; Mention
Subject: Re: [wasm-tool/golang] Golang has WebAssembly support now, version 1.11 added wasm support (#1)
Ok, thanks for the confirmation, it's definetly a bug on our side. Could you please send me your wasm module? You can send it to my email privately.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#1 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AAaf3MHR5SE6KkflQSn3XqmTTvCYtxA0ks5vDvy8gaJpZM4WYGCM>.
|
Ok, I'll investigate that. It's most likely something is not up-to-date here. |
I've tried in another repo (with Go code about as simple as your demo) but updated the dependencies to 1.8.x.
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Sven Sauleau <[email protected]>
Sent: Wednesday, January 16, 2019 9:22:43 PM
To: wasm-tool/golang
Cc: Aaron Powell; Mention
Subject: Re: [wasm-tool/golang] Golang has WebAssembly support now, version 1.11 added wasm support (#1)
Ok, I'll investigate that. It's most likely something is not up-to-date here.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#1 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AAaf3ITwr_HCuLTDlkl8-3kQc604wSfGks5vDv1zgaJpZM4WYGCM>.
|
I pushed a couple of updates (example was broken for me) and I can produce it. |
Sorry for the delay here, I'll work on it asap. |
No problem. I actually built my own because I was wanting to learn more about how WASM works, how Go works and how webpack works: https://github.com/aaronpowell/webpack-golang-wasm-async-loader I am keen to see this one in action too, it approaches a few things differently to mine. |
No description provided.
The text was updated successfully, but these errors were encountered: