reference:
https://anonyco.github.io/WasmFiddlePlusPlus/
https://developer.mozilla.org/en-US/docs/WebAssembly
https://webassembly.org/getting-started/developers-guide/
https://emscripten.org/docs/
How to install emsdk?
https://emscripten.org/docs/getting_started/downloads.html
On windows platform :
- get the emsdk repo
git clone https://github.com/emscripten-core/emsdk.git
- Change directory to
emsdk
cd emsdk
- Fetch the latest version of the emsdk (not needed the first time you clone)
git pull
- Download and install the latest SDK tools
emsdk install latest
- Make the "latest" SDK "active" for the current user. (writes .emscripten file)
emsdk activate latest
- Activate PATH and other environment variables in the current terminal
emsdk_env.bat
List of some sample:
- just_Normal
- using_emmake
- Call_JS_Fn_To_Wasm
- Custom_web_page
- Memory-Object-example
- QuickSort
- create Side module
- Dynamic linking - dlopen
- Dynamic linking - dynamicLibraries