Event JSON
{
"id": "37e778740447cdbecd7ac85719c0780d024180b79b2c6456630eb03825ee5827",
"pubkey": "b9110ad2843996fec6f805e96ab4e86a3c66333c0fe452d413111c9f9c28a131",
"created_at": 1717841224,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.online/@weilawei/112580442464046577",
"web"
],
[
"p",
"e062fbe72ae69ccb16a631db7dcba2221e17a897b835743d7f1c0ccd7a2ef223"
],
[
"e",
"6c749c99be9e315e92a6879fd3711c5316d5925a9b3a024834a78c01c7228931",
"",
"root"
],
[
"p",
"b9110ad2843996fec6f805e96ab4e86a3c66333c0fe452d413111c9f9c28a131"
],
[
"e",
"10225470debb5d6f63acae8400f1c47f8cc65a86902f783b63873c5ded1439bb",
"",
"reply"
],
[
"proxy",
"https://mastodon.online/users/weilawei/statuses/112580442464046577",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.online/users/weilawei/statuses/112580442464046577",
"pink.momostr"
]
],
"content": "For instance, the interface of a queue is front()/back()/push()/pop(), but there's no obvious way to make that truly atomic without locking. It also requires that front() and back() have non-const variations, which means now I have to hand back a reference to something that -logically- cannot be modified or it breaks the invariants for the lock-free code.\n\nI think most performance concerns are overblown if you're skimming the generated code, which is normal for high-perf code.",
"sig": "bdd8ac9114a14c5c00081ea20cb733ba7365b25d61b101911cd600b1b7f04a1154a4d5e35442e6d70859c98d00fbf088bb91a770b03d6ddab13e0c22dfce8842"
}