News for hackers. Stuff that matters.
Re:Manifesto: Adding memory ownership to Swift by Gankro on Saturday February 18, 2017 @08:56AM (#13674801)
The major holes are: class fields, globals, and captures of escaping (non-scoped) closures (which are basically class fields).

Although this system proposes dynamic checking for these cases, it's explicitly not atomic checking. Atomic checking would be very expensive even though most code doesn't need it. Also there's a general sense that java, which does atomically guard all shared mutable state, has the problem that these accesses are defined but ultimately useless. Part of this is that coherent updates require coarser locks.

Re:Manifesto: Adding memory ownership to Swift by solidsnack9000 on Tuesday February 21, 2017 @06:38PM (#13701340)
Maybe for objects it makes more sense to be able to "own" the object as a whole, if I am understanding you right. Still reading the Swift proposal.