Smart pointers instead of GC?
Francesco Cattoglio
francesco.cattoglio at gmail.com
Tue Feb 4 17:16:46 PST 2014
On Sunday, 2 February 2014 at 16:55:35 UTC, Andrei Alexandrescu
wrote:
> 1. Add @nullable and provide a -nullable compiler flag to
> verify it. The attribute is inferred locally and for white-box
> functions (lambdas, templates), and required as annotation
> otherwise. References not annotated with @nullable are
> statically enforced to never be null.
>
> 2. Work on Phobos to see what can be done about avoiding
> unnecessary allocation. Most likely we'll need to also add a
> @nogc flag.
>
> 3. Work on adding tracing capabilities to allocators and see
> how to integrate them with the language and Phobos.
>
> 4. Work on the core language and druntime to see how to
> seamlessly accommodate alternate GC mechanisms such as
> reference counting.
That looks nice, but one thing is missing:
5. Fix @property already :P
What is the last status about properties? As far as I understand
pulls are in place and might get pick up in 2.066, right?
More information about the Digitalmars-d
mailing list