[swift-evolution] [Review] SE-0136: Memory Layout of Values

Dave Abrahams dabrahams at apple.com
Sun Aug 7 21:18:22 CDT 2016


on Sun Aug 07 2016, Karl <razielim-AT-gmail.com> wrote:

>> 	* What is your evaluation of the proposal?
>
> +1
>
> Although if I was nitpicking I prefer the name “ofInstance” (as in the
> stdlib private function) to “ofValue”.

The problem with “ofInstance” is that a class instance will be reported
to be the same size as Int.  Most people think of a class instance as
the place where its stored properties live, not the reference.

>
> What is the standard nomenclature? Whereas I would distinguish between
> “objects/instances” and “values”, I’ve started referring to all Swift
> things as “objects” and “instances”, even if they are value types.
>
>
>> 	* Is the problem being addressed significant enough to warrant a
>>          change to Swift?
>
> Yes
>
>> 	* Does this proposal fit well with the feel and direction of
>>          Swift?
>
> Yes
>
>> 	* If you have used other languages or libraries with a similar 
>>          feature, how do you feel that this proposal compares to those?
>
> I think the metatype system needs revising for Swift >3.0, but given
> time constraints this is the best solution
>
>> 	* How much effort did you put into your review? A glance, a
>>          quick reading, or an in-depth study?
>
> Followed prior discussion, read proposal
>
>> 
>> More information about the Swift evolution process is available at
>> 
>> 	https://github.com/apple/swift-evolution/blob/master/process.md
>> 
>> Thank you,
>> 
>> Dave Abrahams
>> Review Manager
>> _______________________________________________
>> swift-evolution mailing list
>> swift-evolution at swift.org
>> https://lists.swift.org/mailman/listinfo/swift-evolution

-- 
-Dave


More information about the swift-evolution mailing list