Hacker News new | ask | show | jobs
by djur 2068 days ago
I think you missed this detail:

> ARC was first shipped with Nim 1.2... [ORC is] our main new feature for this release

Seems like they should phrase it like "use ORC unless you know you don't have cycles" rather than "use ORC if you're not sure you have cycles", but that's a reasonable responsibility to take on if you're choosing to use an alternative garbage collector.

1 comments

I'd prefer no phrasing at all. Just pick one that will work well in all cases, and don't give me any footguns.
To clarify: By default Nim will still use the GC which doesn't have any "footguns". ARC and ORC are new features which have different trade-offs, and some limitations. You opt-in to using them if you're interested.
A way of dealing with memory that works well in all cases! That would be great.
Yes. Or at least put them in the appendix.