except for sync.Pool, the entire sync/ tree of #golang is a ...

mleku
npub1fjqqy4a93z5zsjwsfxqhc2764kvykfdyttvldkkkdera8dr78vhsmmleku
hex
0f7162811c7b7ea2b98ca4ae38c1ec8bcca3700b15699fef5fe147ceaa7dca9cnevent
nevent1qqsq7utzsyw8kl4zhxx2ft3cc8kghn9rwq9326vlaa07z37w4f7u48qprpmhxue69uhhyetvv9ujuem4d36kwatvw5hx6mm9qgsyeqqz27jc32pgf8gynqtu90d2mxztykj94k0kmttxu37nk3lrktclq3s7rKind-1 (TextNote)
except for sync.Pool, the entire sync/ tree of #golang is a footgun
everything can be done with channels and Actor model, guaranteeing 100% deadlock/livelock/race free code and very likely improving latency and throughput since the GC doesn't have to discriminate who owns what except inside the channel machinery (which is all on the surface between goroutines).
Raw JSON
{
"kind": 1,
"id": "0f7162811c7b7ea2b98ca4ae38c1ec8bcca3700b15699fef5fe147ceaa7dca9c",
"pubkey": "4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f",
"created_at": 1781175635,
"tags": [
[
"client",
"https://smesh.lol"
]
],
"content": "except for sync.Pool, the entire sync/ tree of #golang is a footgun\n\neverything can be done with channels and Actor model, guaranteeing 100% deadlock/livelock/race free code and very likely improving latency and throughput since the GC doesn't have to discriminate who owns what except inside the channel machinery (which is all on the surface between goroutines).",
"sig": "d73f8bc911fae235aa22361e7ae42e35383f0a70c1d6c65fd5e8c6f3471daa1daa9d2faeb64ccf68959fa013ebaaef08e8ebe3e21f9194190bffd6e7b03a744c"
}