Skip to content

C++ ABI implementation of the WebAssembly Component Model

License

Apache-2.0, BSL-1.0 licenses found

Licenses found

Apache-2.0
LICENSE
BSL-1.0
LICENSE-BOOST-PFR
Notifications You must be signed in to change notification settings

GordonSmith/component-model-cpp

Repository files navigation

Actions Status Actions Status Actions Status codecov

Component Model C++

This repository contains a C++ ABI implementation of the WebAssembly Component Model.

Features

OS

  • Ubuntu 24.04
  • MacOS 13
  • MacOS 14 (Arm)
  • Windows 2019
  • Windows 2022

Host Data Types

  • Bool
  • S8
  • U8
  • S16
  • U16
  • S32
  • U32
  • S64
  • U64
  • F32
  • F64
  • Char
  • String
  • utf8 String
  • utf16 String
  • latin1+utf16 String
  • List
  • Record
  • Tuple
  • Variant
  • Enum
  • Option
  • Result
  • Flags
  • Own
  • Borrow

Host Functions

  • lower_flat_values
  • lift_flat_values

Tests / Samples

  • ABI
  • WasmTime
  • Wamr
  • WasmEdge

Usage

This library is a header only library. To use it in your project, you can:

  • Copy the contents of the include directory to your project.
  • Use vcpkg to install the library and its dependencies.

Related projects

Star History

Star History Chart

About

C++ ABI implementation of the WebAssembly Component Model

Topics

Resources

License

Apache-2.0, BSL-1.0 licenses found

Licenses found

Apache-2.0
LICENSE
BSL-1.0
LICENSE-BOOST-PFR

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published