Skip to content
Services and directives for Angular 2+ to work with WebAssembly
C TypeScript HTML C++ JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.editorconfig
.gitignore
LICENSE Initial commit Jan 13, 2018
README.md
angular.json
compile-wasm.js
package-lock.json
package.json
post-build.js
tsconfig.json
tslint.json

README.md

Angular & WebAssembly

A simple project showing how WebAssembly could be used in Angular 2+ in form of components and helper services.

Prerequisites

You need to download and install Emscripten as described on the official website.

Build

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.

Pre-compiled dependencies

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

Questions & contribution

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 :-)

You can’t perform that action at this time.