Skip to content

michaelachrisco/angular-wasm

 
 

Repository files navigation

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

About

Services and directives for Angular 2+ to work with WebAssembly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 36.6%
  • TypeScript 31.3%
  • HTML 16.1%
  • C++ 10.8%
  • JavaScript 2.6%
  • CSS 2.6%