Looking for documentation of D's lower-level aspects.

Jonathan M Davis jmdavisProg at gmx.com
Sat Oct 22 17:16:02 PDT 2011


On Sunday, October 23, 2011 00:01:42 Sean Silva wrote:
> == Quote from Jonathan M Davis (jmdavisProg at gmx.com)'s article
> 
> > On Saturday, October 22, 2011 17:04:57 Sean Silva wrote:
> > The main planned changes that I'm aware of are to
> > 1. Make all containers final classes (Array and SList are currently
> 
> reference-
> 
> > counted structs).
> 
> What is the rationale for making them classes, if they are going to be
> final?

They're all supposed to be reference types. Initially, we went with structs, 
but it was eventually decided to just go with classes instead, and making them 
final makes it so that the compiler can make the their functions non-virtual 
and therefore more efficient.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list