News for hackers. Stuff that matters.
Re:IBM says Swift is ready for the enterprise by pjmlp on Monday September 26, 2016 @10:03AM (#12581864)
> but without a stop-the-world garbage collector a

RC is a stop-the-world garbage collector when the reference count reaches 0 in very complex data structures, which trigger a cascade of deletions.

Also it has issues with sharing data between threads leading to cache coherency contention and locks.

Re:IBM says Swift is ready for the enterprise by gpderetta on Monday September 26, 2016 @11:35AM (#12582689)
That's not stop the world. Under RC, when a thread is destroying a complex data structure, other threads are free to keep doing useful work.

RC does otherwise have very bad interactions with threads of course.

edit: clarify

Re:IBM says Swift is ready for the enterprise by pjmlp on Monday September 26, 2016 @12:26PM (#12583197)
Just like a parallel GC.
Re:IBM says Swift is ready for the enterprise by gpderetta on Monday September 26, 2016 @12:59PM (#12583486)
parallel != stop-the-world
Re:IBM says Swift is ready for the enterprise by hellofunk on Monday September 26, 2016 @10:09AM (#12581904)
Fair enough. The point I was (trying) to make is that Swift doesn't have a traditional GC like Java, or Javascript, etc.