News for hackers. Stuff that matters.
Re:Nim version 2.0.0 release candidate by actuallyalys on Wednesday December 21, 2022 @07:56PM (#34088387)
The name is confusing, but Nim's Arc is not the same as Rust's: https://nim-lang.org/blog/2020/10/15/introduction-to-arc-orc.... Rust (and apparently Swift) uses Arc to refer to atomic reference counting, whereas Nim's means automatic. There's still overhead, but it would be more comparable to Rust's Rc, I believe.
Re:Nim version 2.0.0 release candidate by pjmlp on Thursday December 22, 2022 @04:19AM (#34091397)
Swift uses ARC to mean automatic, and its use comes from Objective-C's ARC.
Re:Nim version 2.0.0 release candidate by actuallyalys on Thursday December 22, 2022 @09:09AM (#34093376)
Huh, the Nim blog post appears to be wrong, then, or I misunderstood it.