faasm / cpp

Tools for building C/C++ to WebAssembly for Faasm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Faasm C/C++ Support CPP tests License

This repo contains everything needed to build C/C++ applications for Faasm:

Faasm supports a range of legacy applications, so requires a toolchain capable of compiling large projects that may require threading, C++ exceptions and dynamic linking. To do this we have to use a custom fork of wasi-libc, and our own build of the LLVM toolchain via this Makefile.

We have made some small changes to the toolchain itself to support building WebAssembly shared libraries outside of the Emscripten target. You can see these in this fork through this diff.

The repo also contains the C/C++ definition of the Faasm host interface.

More detailed docs can be found in:

About

Tools for building C/C++ to WebAssembly for Faasm

License:Apache License 2.0


Languages

Language:C++ 62.0%Language:Python 13.3%Language:C 11.0%Language:CMake 7.4%Language:Makefile 2.4%Language:Shell 1.5%Language:Dockerfile 1.2%Language:Assembly 1.2%