JonForShort / angular-wasm

Services and directives for Angular to work with WebAssembly

Home Page:https://boyan.io/angular-wasm/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular & WebAssembly

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

Prerequisites

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

I have tested the build using Emscripten 1.39.10

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 to work with WebAssembly

https://boyan.io/angular-wasm/

License:MIT License


Languages

Language:C 36.2%Language:TypeScript 32.1%Language:HTML 16.0%Language:C++ 10.7%Language:CSS 2.6%Language:JavaScript 2.5%