MercurialBlack on Nostr: Screw Go why should variables ever escape to the heap, back in my day we just used ...
Screw Go why should variables ever escape to the heap, back in my day we just used malloc and free
If you're returning a pointer to a variable you defined in a function, you deserve to get junk data back
Published at
2024-04-08 20:25:53Event JSON
{
"id": "07889f8ddba0f24683d7e8383947b7e51886f06891c9d9d2dc050c72c8f63b2a",
"pubkey": "f0a221fd8bc0629260b56340db7887c6258f13a4294e2f3a0cf952f5f880dcb3",
"created_at": 1712600753,
"kind": 1,
"tags": [
[
"proxy",
"https://pleroma.mercurial.blog/objects/3d7a37a1-4bd0-4177-96b3-239231a0823e",
"activitypub"
]
],
"content": "Screw Go why should variables ever escape to the heap, back in my day we just used malloc and free\n\nIf you're returning a pointer to a variable you defined in a function, you deserve to get junk data back",
"sig": "b50d0e2a9f05aa89bcb8264074f2f7f8672dd1e717c638b05b22d85be4017252921e207218e039b3344238e23d6a6f7f4b453af26138751f014844aeb07f34b1"
}