inkeliz / karmem

Karmem is a fast binary serialization format, faster than Google Flatbuffers and optimized for TinyGo and WASM.
BSD 3-Clause "New" or "Revised" License
654 stars 27 forks source link

Option to generate self-contained code (remove dependency on karmem library) #58

Open inkeliz opened 2 years ago

inkeliz commented 2 years ago

Currently, Karmem have two components:

This may add some issues since you need to get the library and also use code generator. Another option is to "combine" both of them, so one option --contained (and equivalent header option) can be used to include the Karmem library inside the generated code. The major issue is the C code, since it requires prefix and code change for each package.