5 ms·
From crossbeam docs [1]: "Programming languages that come with garbage collectors solve this problem trivially." [1]: https://docs.rs/crossbeam-epoch/0.6.0/cro
by ridiculous_fish 8y ago
From crossbeam docs [1]: "Programming languages that come with garbage collectors solve this problem trivially."
[1]: https://docs.rs/crossbeam-epoch/0.6.0/crossbeam_epoch/ https://docs.rs/crossbeam-epoch/0.6.0/crossbeam_epoch/
- pcwalton 8y agoIt's not just the core mechanism of crossbeam-epoch that I'm talking about: it's the entire ecosystem that surrounds it. Crossbeam-epoch adds some syntactic overhead compared to GC, but it comes with a whole bunch of tools that most GC'd languages don't have, including a compiler that ensures that you take locks when you're supposed to.