Skip to content

auto-ndp/faasm-cpp

 
 

Repository files navigation

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:

Packages

 
 
 

Languages

  • C 61.1%
  • C++ 33.9%
  • Cuda 2.0%
  • Python 1.3%
  • CMake 0.8%
  • Shell 0.5%
  • Other 0.4%