dlang vs crystal-language

user1234 user1234 at 12.de
Mon May 3 12:02:50 UTC 2021


On Saturday, 1 May 2021 at 13:04:15 UTC, sighoya wrote:
> On Wednesday, 28 April 2021 at 22:41:03 UTC, Alain De Vos wrote:
>> What are the strengths and weaknesses comparing the two 
>> languages ?
>> I can name a strength of dlang is the working binding to tk 
>> and gtk.
>
> Just to say, Crystal is a neat language, feels like a static 
> ruby.
>
> Strengths:
>
> - Poweful type inference
> - lightweight julian/ruby like syntax
> - nice lightweight macros, don't know if they were a good fit 
> for D
> - nice yield builtins
> - feels like a lightweight Java
> - nice high level feeling and is GCed
>
> Weaknesses:
>
> - as I said, it is hard to understand when type inference is 
> used completely everywhere, said that this is crystals killer 
> feature
> - slow compilation time just because of the "type inferred 
> everywhere" design

I seriously wonder if this is a criterion. For example Gitlab 
which is known to get updated each month, still uses Ruby in 
their backend. So their clients use scripts that could be 2x to 
20x faster if made in Crystal.

> - the OOP system lacks specific features from other OOP systems
> - hasn't the same support for low level programming as in D or 
> Nim
> - is relative unknown, although I don't know why.




More information about the Digitalmars-d-learn mailing list