← All repos

wasm-c-api

Wasm C API prototype

Browse cluster: WebAssembly Specification and Proposals
187commits
25contributors
5languages

Tech stack & purpose

Wasm-c-api is a prototype implementation of a C and C++ API for embedding WebAssembly engines in other applications. The project aims to provide a VM-agnostic, "black box" interface that supports manual memory management and avoids language features that would complicate binding to other languages, while maintaining link-time compatibility across different WebAssembly implementations. The repository includes a prototype implementation based on V8 written in C and C++, along with example code demonstrating usage of both APIs. The project is designed to support current WebAssembly proposals like multiple return values and reference types, with known implementations also available in Wabt, Wasmtime, Wasmer, and V8 itself.

Languages

C++
68.0%
C
27.9%
Makefile
2.6%
WebAssembly
1.4%
Dockerfile
0.1%

Contributors