Skip to content

Use the wasm version of the skycoin-lite lib#570

Merged
gz-c merged 10 commits intoskycoin:developfrom
Senyoret1:wasm
Jul 19, 2019
Merged

Use the wasm version of the skycoin-lite lib#570
gz-c merged 10 commits intoskycoin:developfrom
Senyoret1:wasm

Conversation

@Senyoret1
Copy link
Copy Markdown
Collaborator

Changes:

  • The GopherJS version of skycoin-lite was replaced with the wasm version.

  • The tests have been updated.

  • The code now is much better at checking if the library was loaded successfully.

  • The compiled skycoin-lite wasm file was added to the repo, but the idea is to load it dinamically as a dependency after merging Prepare for creating wasm builds skycoin-lite#32

  • It does not work in Android, but apparently the problem will be solved in Go v1.13 (https://go-review.googlesource.com/c/go/+/170950/ ) and the GopherJS version was too slow to be usable anyway

@Senyoret1
Copy link
Copy Markdown
Collaborator Author

The last commit includes an updated version of the wasm lib and the changes needed for making the tests to run. However, the PR for adding the wasm version to Skycoin-lite is still pending, so more changes could be needed later.

@gz-c
Copy link
Copy Markdown
Member

gz-c commented Jul 15, 2019

merge conflicts

@gz-c gz-c merged commit 58aa57d into skycoin:develop Jul 19, 2019
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

Successfully merging this pull request may close these issues.

2 participants