News for hackers. Stuff that matters.
Re:Swift is a more convenient Rust by twoodfin on Friday September 06, 2024 @08:07AM (#41465393)
https://courses.cs.washington.edu/courses/cse590p/05au/p50-b...

This paper makes a strong argument that “pure” tracing garbage collection and “rote” reference counting are effectively duals at the opposite ends of a spectrum of implementation choices.

For example, GC’s often optimize differently for young vs. old objects. How do they distinguish these? By “counting” (one bit) their references across one or more traces in a series of sweeps.

Re:Swift is a more convenient Rust by 01HNNWZ0MV43FF on Friday September 06, 2024 @11:22AM (#41467004)
And a hot wheels car is a car, but I would be perplexed to see one offered to me at a car dealership