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

browser support via Emscripten #3

Open
derhuerst opened this issue Mar 3, 2018 · 3 comments
Open

browser support via Emscripten #3

derhuerst opened this issue Mar 3, 2018 · 3 comments

Comments

@derhuerst
Copy link
Collaborator

We might want to investigate Wasm or asm.js, e.g. using Emscripten.

@derhuerst
Copy link
Collaborator Author

I played a bit with WASM tools, and it seems they're still quite brittle by now.

Still, generating asm.js using Emscripten would make this library isomorphic.

@derhuerst derhuerst changed the title browser support browser support via Emscripten Mar 9, 2018
@derhuerst
Copy link
Collaborator Author

Emscripten can be installed and used like this:

wget -q 'https://s3.amazonaws.com/mozilla-games/emscripten/releases/emsdk-portable.tar.gz'
tar -xzv -f emsdk-portable.tar.gz
source ./emsdk-portable/emsdk_env.sh
emsdk update
emsdk install latest

emsdk activate latest
source ./emsdk-portable/emsdk_env.sh

# use emcc

@dirkschumacher
Copy link
Owner

Cool. Isomorphic is always good :) - let's try that.

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