News for hackers. Stuff that matters.
Re:Group Borrowing: Zero-cost memory safety with fewer restr... by codedokode on Thursday August 28, 2025 @01:19PM (#45054667)
Rc is slightly expensive and Gc is super expensive. I would prefer a memory safety for free.

As for C, it leaves verifying the safety up to you, it is not easy at all and I would rather spend time on something else using safe languages.

Re:Group Borrowing: Zero-cost memory safety with fewer restr... by pjmlp on Friday August 29, 2025 @04:23AM (#45061561)
Alternatives have existed since the 1960's, predating C's invention, and also after it came to be, the problem has been mainstream adoption of UNIX, and the side effects from that.
Re:Group Borrowing: Zero-cost memory safety with fewer restr... by ntrel on Monday September 01, 2025 @05:22PM (#45096735)
My understanding is that RC is relatively expensive in time (especially for atomic RC) but uses a lot less memory than state of the art fast GC. And RC doesn't handle cycles.