navi on Nostr: single header (non-macro) libraries are cursed can we stop doing them a library that ...
single header (non-macro) libraries are cursed
can we stop doing them
a library that implements containers via macros can only be done as a single header, so i'm talking about the "lazy" `#define FOONYA_IMPLEMENTATION`-style ones
Published at
2025-08-20 01:23:00 UTCEvent JSON
{
"id": "ed54718b0015ce9b61d5c66d37f41ed096f14c538ec2686711b6778223c24040",
"pubkey": "4ebc018b65a1b352f90f937be79b5c338651f1528960889fa64caa94be982f8a",
"created_at": 1755652980,
"kind": 1,
"tags": [
[
"proxy",
"https://social.vlhl.dev/objects/d547f317-cd59-4c23-9666-1206b0c31a48",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.mostr.pub"
]
],
"content": "single header (non-macro) libraries are cursed\n\ncan we stop doing them\n\na library that implements containers via macros can only be done as a single header, so i'm talking about the \"lazy\" `#define FOONYA_IMPLEMENTATION`-style ones",
"sig": "18ea243d4edf3cb8c92309626c5effb098e3c99e17c72550517d762e3cf50cf5284c49031b2530e095df3142dce40d8b2abf38db3f8e1948e77d07305858c511"
}