OT: This Swift thing

Travis Griggs travisgriggs at gmail.com
Fri Jun 6 02:28:04 EDT 2014



> On Jun 5, 2014, at 1:14, Alain Ketterlin <alain at dpt-info.u-strasbg.fr> wrote:
> 
> Swift's memory management is similar to python's (ref. counting). Which
> makes me think that a subset of python with the same type safety would
> be an instant success.

Except that while you don't need to regularly worry about cycles in python, you do in swift. Which means you get to think constantly about direct and indirect cycles, figure out where to put weak stuff, when to use a local to keep a weak property alive until it finds it's strong home, etc.


More information about the Python-list mailing list