Re:Java is the COBOL of my generation and Go is its successor
by gress on Friday May 02, 2014 @09:48PM
(#7689184)
Actually that's not entirely true. Arc inserts the calls first, but then does an elimination phase that can identify lifetimes beyond method boundaries and remove unnecessary calls.
It's not particularly complex, but the architecture is there for further enhancement of this phase as they build out the static analyzer.
Re:Java is the COBOL of my generation and Go is its successor
by pcwalton on Tuesday May 06, 2014 @07:44PM
(#7707843)
That's nowhere near what the borrow check does. The borrow check is based on reasoning about ownership and inherited mutability, neither of which apply to Objective-C.
It's not particularly complex, but the architecture is there for further enhancement of this phase as they build out the static analyzer.