John-Mark Gurney on Nostr: Just realized the one thing that C23 SHOULD have added was a directive to turn off ...
Published at
2023-04-03 17:08:53Event JSON
{
"id": "9a6affa280e7c82b72a354e7ef3b7be67c70ee51c7f2eeff2d4dcf8f159c6c40",
"pubkey": "e675b9ee45632dbdeddf3704bf513a17e49389bbf180ff1c32af9ded83d4ca0b",
"created_at": 1680541733,
"kind": 1,
"tags": [
[
"p",
"6fb06090fe4d094cc5a92c2835ff105f2132bd9f5892af7e0d071c683fd19e75",
"wss://relay.mostr.pub"
],
[
"t",
"c23dumpsterfire"
],
[
"mostr",
"https://flyovercountry.social/users/encthenet/statuses/110135983078713283"
]
],
"content": "Just realized the one thing that C23 SHOULD have added was a directive to turn off all optimizations for a block of code, or at least disable most of the liveliness checks/dead code elimination, etc.\n\nYou cannot write [guaranteed] constant time code in C w/ how the standard is written.\n\n#[0]",
"sig": "742093ba1b432e78d8d1d02aa3e364d9a16865bd3c3a57e1d8700dc9fe460b9b6005c6ac842ac5ef4c847e394d7a786584a12cc73d400e78b18a751248cbe367"
}