Karmem
lastmod 2022-08-04created 2022-08-041 edits
Binary serialization format 10 times faster than Google Flatbuffers (?)
Karmem is a fast binary serialization format, faster than Google Flatbuffers and optimized for TinyGo and WASM.
Features
- Binary Serialization Format made to make data transfer between a WebAssembly Host and Guest fast and easy
- "event-command pattern"
- Efficient because content is encoded once and multiple guests share the same content regardless of language
- Witx is too complex and defines even data structures and functions
- Flatbuffers is not as fast as desired and has no bounds checking
- Cap'n'Proto is good, but has no Zig or AssemblyScript implementation. The API is also difficult