News for hackers. Stuff that matters.
Re:IBM says Swift is ready for the enterprise by pcwalton on Monday September 26, 2016 @11:54AM (#12582879)
Swift memory management isn't nearly as expressive as C++ when it comes to references (i.e. unmanaged pointers). You can use in/out/inout parameters on functions and that's about it.

I agree with the parent that Swift memory management is basically like Go or Java: everything is GC'd (reference counting being a form of GC).

Re:IBM says Swift is ready for the enterprise by hellofunk on Monday September 26, 2016 @02:15PM (#12584208)
You don't need in/out params to get references; in Swift, anything defined with "class" is always passed by reference.
Re:IBM says Swift is ready for the enterprise by pcwalton on Monday September 26, 2016 @04:25PM (#12585243)
Unmanaged references. Regular old class references aren't unmanaged (they adjust reference counts).