dlang vs crystal-language
sighoya
sighoya at gmail.com
Sat May 1 13:04:15 UTC 2021
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
- 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