RyeNCode on Nostr: npub1aw2gc…38vv5 It's been years since doing any c/c++... Would the solution be to ...
npub1aw2gcqz09z6lq5w5thzcadjsy8n7srs8mczkgs4c5rvjyyfh96nsg38vv5 (npub1aw2…8vv5) It's been years since doing any c/c++... Would the solution be to evaluate the random values into local variables prior to the call to make the execution order explicit?
Secondly, would there need to be keywords for those local variables to indicate that they should not be optimized away?
Genuinely curious,
This could wreck predictable repeatable procgen in some cases i'm sure.
Guess to show knowing the finer details is important!
Published at
2024-03-02 14:31:09Event JSON
{
"id": "f4ffead59b38ef9b80f4493a9eec7f77f2d0f1ac9f55e9e10dc3d84cf51c468a",
"pubkey": "7a3894baee9e2634a5a63b7ec925c85d6e4b11ed95985181ce1ba5601fe3be87",
"created_at": 1709389869,
"kind": 1,
"tags": [
[
"p",
"eb948c004f28b5f051d45dc58eb65021e7e80e07de056442b8a0d92211372ea7",
"wss://relay.mostr.pub"
],
[
"p",
"f822ae7b5d60ed7d9560dc9ee3b50a2b67fa795ca7ee99d6d7695c18b5a102e9",
"wss://relay.mostr.pub"
],
[
"e",
"d5adfed693db5621178ecf5d31a86f8127527c86bb2e2d4f1204b3eb6eeebd05",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://mstdn.ca/users/RyeNCode/statuses/112026574496769356",
"activitypub"
]
],
"content": "nostr:npub1aw2gcqz09z6lq5w5thzcadjsy8n7srs8mczkgs4c5rvjyyfh96nsg38vv5 \nIt's been years since doing any c/c++... Would the solution be to evaluate the random values into local variables prior to the call to make the execution order explicit?\nSecondly, would there need to be keywords for those local variables to indicate that they should not be optimized away?\nGenuinely curious,\nThis could wreck predictable repeatable procgen in some cases i'm sure.\nGuess to show knowing the finer details is important!",
"sig": "0f3731dbf8a10fc77b09f0babdaf8ba8a8f78a8e3cb5adcedda7f53d39c66b16c59b91a5e4a10348eba1b5309f5db6ba50f93b5b4f5424f63bf256e947e981ce"
}