Re:Chris Lattner on garbage collection vs. Automatic Referen...
by elcritch on Sunday April 24, 2022 @02:18AM
(#31141713)
Nim's ARC memory management uses the first strategy. Non-atomic refs combined with moves really speed things up! Moving data across threads requires the data be of a special type `Isolate`. It can be a bit tricky to prove to the compiler that the data is isolated, e.g. single ownership.
[ Parent
| on HN ]
There are no comments on this comment yet.