mleku on Nostr: yeah messagepack is pretty good to, just i think more people are familiar with ...
yeah messagepack is pretty good to, just i think more people are familiar with protobuf, and its tooling isn't painful to set up unlike flatbuffers
i was pretty much shocked when i learned how slow the Gob encoder that comes with the Go standard library actually is... it's slower than the stdlib encoding/json!
i figure out of all the options, protobuf probably has the greatest battle hardness, because it's used by so many big tech things
Published at
2024-11-16 10:40:10Event JSON
{
"id": "fb68ba4bb6c94de2af8813db9ffb66f8b97db884a537484d91b505191daf8ba4",
"pubkey": "4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f",
"created_at": 1731753610,
"kind": 1,
"tags": [
[
"e",
"fb804add080068b4b6695d2b1d3acd31bf2e113998f92b6922500ff295ffb2e6",
"wss://nostr.land/",
"root"
],
[
"e",
"88686b87347d4499adf4dd6bbddbc5434a2fb6dc97dd8aad87d14b64089519c4",
"wss://nos.lol/",
"reply"
],
[
"p",
"8633073b8567da97ad119fedd9716154aa283234cbb7d28d5131daa077d1cf7a",
"",
"mention"
],
[
"client",
"noStrudel",
"31990:266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5:1686066542546"
]
],
"content": "yeah messagepack is pretty good to, just i think more people are familiar with protobuf, and its tooling isn't painful to set up unlike flatbuffers\n\ni was pretty much shocked when i learned how slow the Gob encoder that comes with the Go standard library actually is... it's slower than the stdlib encoding/json!\n\ni figure out of all the options, protobuf probably has the greatest battle hardness, because it's used by so many big tech things",
"sig": "5b35b653068b9e156dcf2d46fb9900b9c7875cffebcdc49ce30edb4367b64368e695ad13fd327e4b34c04b8d61826a5b8fbfdcdc08cf4689cdc59b5af296ea5f"
}