Skip to content
This repository was archived by the owner on Oct 21, 2026. It is now read-only.
wasmCloudPublic archive

About

Kind of, sort of Wasm canonical ABI for native code

Resources

Stars

5 stars

Watchers

0 watching

Forks

Latest commit

 

History

23 Commits

Folders and files

Repository files navigation

Warning

This repository is archived and is no longer maintained. It receives no bug fixes or security updates. The source, tags, and existing releases are retained for historical reference.

What?

Cabish is kind of, sort of like Wasm component model ABI with native endian and pointer size, it's cabi-ish.

How?

Essentially it's just direct implementation of Wasm component model ABI, but alignment and size of values depends on the platform and may not correspond to the spec, for example, alignment of string type will generally be 8 on a 64-bit system as opposed to 4 used by 32-bit Wasm.

Why?

Cabish allows reuse of existing tooling targeting canonical ABI in native code, for example, wadge replaces Go Wasm imports generated by wit-bindgen-go by calls to an embedded Wasmtime instance via Rust FFI in native code and uses cabish to read and write values.

About

Kind of, sort of Wasm canonical ABI for native code

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages