3 ms·
Looks similar to Nim’s ARC system released earlier this year after a couple years of work (1). I prefer Nim’s `sink` vs the longer `consume`. The Swift syntax l
by elcritch 5y ago
Looks similar to Nim’s ARC system released earlier this year after a couple years of work (1). I prefer Nim’s `sink` vs the longer `consume`. The Swift syntax looks usable though. I find it interesting to see reference counting and ownership being combined. It can make some fast code!
1: https://nim-lang.org/araq/ownedrefs.html https://nim-lang.org/araq/ownedrefs.html