Go vs. D [was Re: Rust vs Dlang]
Walter Bright
newshound2 at digitalmars.com
Sun Mar 17 01:57:50 PDT 2013
On 3/17/2013 1:17 AM, Paulo Pinto wrote:
> On 17.03.2013 09:05, Russel Winder wrote:
>> So what are the features that Go is ignoring that D has?
> - exceptions;
> - enumerations;
> - generic types;
> - direct use of OS APIs, without the need of writing wrappers;
> - currently only static compilation is available;
> - due to static compilation only model, there are issues with 3rd party code;
> - no support for meta-programming;
> - rich set of available libraries;
> - the PR about go routines and channels, usually forgets to mention that similar
> features do exist as libraries for other languages
I'd like to add that D has:
- operator overloading
- user defined attributes
- dll's (coming soon)
- vector operations
- SIMD operations
- scope guard
- compile time function execution
- true immutability and purity
- inline assembler
> Their talk about fast compilation is also quite effective with young developers
> that did not grew up with Modula-2 and Mac/Turbo Pascal or using other compiled
> languages with modules, so they think Go is the first compiled language to offer
> that.
Andrei did some tests a while back showing that D compiles considerably faster
than Go. High compilation speed has been a major factor among companies who have
adopted D.
More information about the Digitalmars-d-announce
mailing list