3 ms·
Even just read-copy-update without refcounts is very hard without GC. Linux kernel can do RCU without refcounts largely because it's in complete control of CPU
by yencabulator 4y ago
Even just read-copy-update without refcounts is very hard without GC. Linux kernel can do RCU without refcounts largely because it's in complete control of CPU cores and scheduling; userspace can't pull of the same tricks. Meanwhile, with GC, it's just https://pkg.go.dev/sync/atomic#Value https://pkg.go.dev/sync/atomic#Value
https://www.kernel.org/doc/html/latest/RCU/whatisRCU.html https://www.kernel.org/doc/html/latest/RCU/whatisRCU.html
- tialaramex 4y ago> Even just read-copy-update without refcounts is very hard without GC To me "it could be more difficult without" and "requires" are quite different claims, especially in the context of what's possible and why.