A simple project showing how WebAssembly could be used in Angular 2+ in form of components and helper services.
You need to download and install Emscripten as described on the official website.
To build the demo, run the following in the root folder:
npm install
npm start
Then you can open your browser at http://localhost:4200
to see the demo.
For some of the examples, I have pre-compiled parts of the C/C++ source into linked bitcode (.bc files) to ease the build process.
- libSOIL - Simple OpenGL Image Library (SOIL) is a tiny C library used primarily for uploading textures into OpenGL
You can follow me on Twitter @boyanio and ask me questions you might have. You can also open an issue here on GitHub. Pull requests are welcome too :-)