A few notes on choosing between Go and D for a quick project

Dude via Digitalmars-d digitalmars-d at puremagic.com
Fri Mar 13 12:16:01 PDT 2015


On Friday, 13 March 2015 at 18:55:18 UTC, Walter Bright wrote:
> On 3/13/2015 3:34 AM, bearophile wrote:
>> "Strict mode" is a D2 with immutable+ at safe+pure by default,
>
> Note that you can get this largely by starting a module with 
> the following:
>
>    immutable @safe pure:

no you can't until there will be something like disable(pure) or 
default immutable @safe

>
>> something like a "var" keyword to denote mutable values,
>
> Transitive const may make this problematic.

Yes, I agree


>> static full tracking of memory ownership,
>
> Makes the language significantly more complex.
>

Yes, but maybe it's worth it

>> less implicit casts (because now we have the safe int(x) 
>> sytnax),
>
> I think D does very well with implicit casts.
>

Me too

>> And I'd still like built-in tuple syntax in D.
>
> [... Just one more feature ...] is the road to hell.

No if it would be my own just one more feature :P



More information about the Digitalmars-d mailing list