aki-nyan //nullptr::live on Nostr: I know this would break so much ABI and other stuff, but I really wish there was a ...
I know this would break so much ABI and other stuff, but I really wish there was a compiler flag to switch from null-terminated strings to length-prefixed strings in C.
Null-terminated strings are a mistake and we will never recover from it, it's too late.
Published at
2024-09-03 21:58:29Event JSON
{
"id": "86e1ac4f50e3c803a5b54c661e63a3b6b32fdc642422c090c830fcaf66bd514d",
"pubkey": "d7f7c6f7d844a54f0abda092c1f43c9b8459b503e6ed78b30127695845002e8c",
"created_at": 1725400709,
"kind": 1,
"tags": [
[
"proxy",
"https://vt.social/users/lethalbit/statuses/113075860889303562",
"activitypub"
]
],
"content": "I know this would break so much ABI and other stuff, but I really wish there was a compiler flag to switch from null-terminated strings to length-prefixed strings in C.\n\nNull-terminated strings are a mistake and we will never recover from it, it's too late.",
"sig": "9262933313a1682ee29e145d6f4a1cb20d464b4786c3da5f4c67bd79183428c490e23eb3286dcc57b4c7d39941069f809b2ade59f53c8502e01ad1ec571ff5c1"
}