Skip to content
Search

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
  • Optimized for TinyGo and WASM
  • Efficient at repeatedly reading different content of the same type
  • Provides an Object-API but is still fast
  • Comparison
    • 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

See also

Favorite site

author Zer0 sitemap