Conversation
1
1
hang on, the array might be better. You can make it a struct if it is an array!
2
1
But they can’t have recursive layout, as & I learned today. Crashy crash.
1
Oh. Yes. For sure. What would you like that to mean?
1
I want impl. details like by-value and by-ref to vanish from the lang.
3
2
Ehhhhhhhhh. And I want C-like performance characteristics. ¯\ _(ツ)_/¯
2
2
And you’ll have them—it knows when it will copy more than it will ref.
2
2
Replying to
Replying to
not that ARC is great at this in ObjC, but it can be better here.
Replying to
by def’n it can see every point at which a by-value type is copied, which is equivalent to the ref points for by-ref.
1
(I am making the simplifying assumption that identity is solved by magical hand-waving)
2
Show replies




