wasm-ports
wasm-ports copied to clipboard
Scripts to install libraries compiled to WASM using emscripten
Truebit toolchain and ports
This repo has three parts
- there is the dockerfile that can be used to compile C/C++ programs into Truebit tasks (Truebit toolchain)
- the Scripts to install libraries compiled to WASM using emscripten
- Sample applications
Check here for instructions about how to use the docker image. See the samples, especially scrypt for more instructions.
Issues with compiling using emscripten
Does not find the compiler
Seems like this is difficult, perhaps should use $CC or something.
Currently just have to sed the Makefile or something similar.
Typed function calls
In WebAssembly, the function calls are typed, so there will be several issues. For example configure scripts might not work.
Stuff that is not implemented in openssl
stdatomic.h