Leonard Ritter on Nostr: still sitting on the serializer/deserializer protocol. I really liked how ...
Published at
2024-03-07 09:38:08Event JSON
{
"id": "88136487ab6fc760a24c467329a7089f096540d019bab022cdf1831d57958997",
"pubkey": "31b346272a0c741dda7b4104d55b230d5d3aeccb177dada2792dbb181a9495e3",
"created_at": 1709804288,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.gamedev.place/users/lritter/statuses/112053733846945460",
"activitypub"
]
],
"content": "still sitting on the serializer/deserializer protocol. I really liked how serialization worked in Farbrausch's Altona library; a single C++ template function could define both encoder and decoder, cutting required implementation code per object in half https://github.com/farbrausch/fr_public/blob/master/altona_wz4/wz4/wz4frlib/chaos_font.cpp#L87",
"sig": "696de7c5aec0bc1ec01a4bad80fa48c1ef89d8596a43283f1eea15ff581c60816e42bec49c64220b6cd740d81982ab2f624fa1a51e2cf97632e353f491d412f3"
}