ARC is deterministic. ORC isn't, but doing cycles in general is usually a code smell, especially on embedded.
Also the GC is type-bound and only needed if you use ref objects. If you don't, no GC.
ARC is deterministic. ORC isn't, but doing cycles in general is usually a code smell, especially on embedded.
Also the GC is type-bound and only needed if you use ref objects. If you don't, no GC.
How long haven't you checked that for? It's been ORC for years.
Try this with a recent nim version:
nim --fullhelp
-mm:orc|arc|refc|markAndSweep|boehm|go|none|regions
select which memory management to use; default is 'orc'
When you confidently try to correct someone, at least consider you may be wrong.Orc was blocked for a while due to cycles with async. I was under the impression that they were still there.
> It's been ORC for years.
The switch has been made for Nim v2 announced in December 2022, the PR #19972 that defaults to ORC has been made on September 2023.
ORC has just celebrated 1 year as default GC, certainly not years.
> When you confidently try to correct someone, at least consider you may be wrong.
I don't get why you're so butthurt about this and feel the need to be so nasty in your replies.