Wasm C API prototype
Browse cluster: WebAssembly Specification and Proposals →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.