Changes in Destructor Semantics in Support of Deterministic Finalization

In the original language design, a class destructor was permitted within a reference class but not within a value class. This has not changed in the revised V2 language design. However, the semantics of the class destructor have changed considerably. The what and why of that change (and how it impacts the translation of existing…

16

Having the right Type Vocabulary to discuss Boxed Value Types

Comments from Stan Lippman’s BLog: Jon Flandersre: Value Type ReduxI think it is always important to point out when having the “value types are boxed whenever they are treated as object” discussion, that if the value type overrides ToString() (or the method in question) boxing does not need to occur.    In the original Managed…

3