Classes can’t (as of the public seed) have non-fixed layouts without special/dangerous compiler flags.
Conversation
1
1
1
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
Replying to
Ehhhhhhhhh. And I want C-like performance characteristics. ¯\ _(ツ)_/¯
Replying to
And you’ll have them—it knows when it will copy more than it will ref.
2
2
2
Show replies
Replying to
Where did the focus on speed come from? Of objc's problems, speed wasn't high on the list cc
Quote Tweet
Replying to @jonathanpenn
@jonathanpenn My guess is that it’s for performance. It seems like a primary concern in the design of Swift. And my biggest reservation.
3
1
3
Maybe not on *your* list… I can't speak authoritatively to that question, in any case.
3
Show replies






