[Phoronix] D Language Still Showing Promise, Advancements

deadalnix deadalnix at gmail.com
Mon Jun 24 09:44:07 PDT 2013


On Sunday, 23 June 2013 at 15:30:16 UTC, Marco Leise wrote:
> Am Thu, 20 Jun 2013 22:53:13 +0200
> schrieb "Adam D. Ruppe" <destructionator at gmail.com>:
>
>> On Thursday, 20 June 2013 at 20:47:19 UTC, Michael wrote:
>> > Also 3 types of pointers scares me.
>> 
>> This actually doesn't scare me because it is kinda useful for 
>> certain situations. However, I don't think it needs to be 
>> built into the language because library types can do the same 
>> kind of thing.
>
> Yes, once you know about UniquePtr, NotNullable, RefCounted
> and such, 3 pointer types isn't scary are all.
> But Rust pointers don't map 100% to library types. They have
> compiler support which removes the syntactical noise of
> templates and makes them behave more natural. For example in D
> everything becomes a struct once you add functionality around
> it and creates corner cases that aren't supported.
> I wonder how many D programmers actually use Phobos' library
> pointer types.

We already have pointer and references, that makes 2.


More information about the Digitalmars-d-announce mailing list