6 releases

0.2.0 Sep 24, 2024
0.1.5 Sep 23, 2024

#1456 in WebAssembly

Download history 119/week @ 2024-10-03 176/week @ 2024-10-10 55/week @ 2024-10-17 23/week @ 2024-10-24 34/week @ 2024-10-31 91/week @ 2024-11-07 34/week @ 2024-11-14 29/week @ 2024-11-21 73/week @ 2024-11-28 89/week @ 2024-12-05 74/week @ 2024-12-12 15/week @ 2024-12-19 36/week @ 2024-12-26 19/week @ 2025-01-02 135/week @ 2025-01-09 35/week @ 2025-01-16

225 downloads per month
Used in 3 crates (via wasmtime-cabish)

Apache-2.0 WITH LLVM-exception

11KB

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, west 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.

Dependencies

~135KB

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy