solo on Nostr: for the pass by value, is he thinking of pass by reference..? because iirc if you ...
for the pass by value, is he thinking of pass by reference..?
because iirc if you create a new struct passed to smth that takes a reference, iirc the reference will go out of scope and not be valid (I could be misremembering this)
{
"id":"304898ef71f1fa448c093a22a2ba1ec0d6c0c538107b370d2947ee74f8b968d9",
"pubkey":"bffe0d54195dce7360be42cbff46b04fd1c26b661afd701dca92f1a19fecd9c1",
"created_at":1790198043,
"kind":1,
"tags": [
[
"e",
"13dfcb07372ecefa5083a73d86c59af83bd37f265d85ef93ae3ca4177326cafb",
"",
"reply",
"bffe0d54195dce7360be42cbff46b04fd1c26b661afd701dca92f1a19fecd9c1"
],
[
"proxy",
"https://tech.lgbt/@solonovamax/117322418965412595",
"web"
],
[
"p",
"bffe0d54195dce7360be42cbff46b04fd1c26b661afd701dca92f1a19fecd9c1"
],
[
"e",
"8e17001b1f7ea1d900490babe06a2ce2a97cbd6e8c24fc79d0c6196a9b46436f",
"",
"root",
"bffe0d54195dce7360be42cbff46b04fd1c26b661afd701dca92f1a19fecd9c1"
],
[
"proxy",
"https://tech.lgbt/users/solonovamax/statuses/117322418965412595",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://tech.lgbt/users/solonovamax/statuses/117322418965412595",
"pink.momostr"
],
[
"-"
]
],
"content":"for the pass by value, is he thinking of pass by reference..?\n\nbecause iirc if you create a new struct passed to smth that takes a reference, iirc the reference will go out of scope and not be valid (I could be misremembering this)",
"sig":"ad59100638357e387a082ab7becc41c25d1a046df17a07245ca8d955d22b1508e850fd983fc9781437d888c76e9c4fd9bc0ec3ad30653786b2e5be85303fcaf9"
}