News for hackers. Stuff that matters.
Re:Swift is a more convenient Rust by Cyph0n on Saturday January 31, 2026 @07:45PM (#46842502)
Also, you get the ability to use Rc (non-atomic refcount) as long as you’re not in a multithreaded env. The atomic version is Arc, similar to C++ shared_ptr.

And there are no footguns - i.e. you cannot mistakenly use a Rc across threads - because the compiler will ensure that you aren’t doing this via the Send marker trait.

There are no comments on this comment yet.