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.
Thread overview | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
April 28, 2021 dlang vs crystal-language | ||||
---|---|---|---|---|
| ||||
April 29, 2021 Re: dlang vs crystal-language | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alain De Vos | On Wednesday, 28 April 2021 at 22:41:03 UTC, Alain De Vos wrote: >What are the strengths and weaknesses comparing the two languages ? Crystal has no installer for Windows |
April 29, 2021 Re: dlang vs crystal-language | ||||
---|---|---|---|---|
| ||||
Posted in reply to Imperatorn | On Thursday, 29 April 2021 at 05:41:45 UTC, Imperatorn wrote: >Crystal has no installer for Windows Is this a strength or a weakness? (SCNR) |
April 29, 2021 Re: dlang vs crystal-language | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alain De Vos | On Wednesday, 28 April 2021 at 22:41:03 UTC, Alain De Vos wrote: >What are the strengths and weaknesses comparing the two languages ? Crystal is Web-only focused. And Crystal is not popular, even compared to D. |
April 29, 2021 Re: dlang vs crystal-language | ||||
---|---|---|---|---|
| ||||
Posted in reply to Berni44 | On Thursday, 29 April 2021 at 05:54:24 UTC, Berni44 wrote: >On Thursday, 29 April 2021 at 05:41:45 UTC, Imperatorn wrote: >Crystal has no installer for Windows Is this a strength or a weakness? (SCNR) lol :) In all seriousness though. Since it a quite large population of the world, it's a weakness. |
April 29, 2021 Re: dlang vs crystal-language | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alain De Vos | On Wednesday, 28 April 2021 at 22:41:03 UTC, Alain De Vos wrote: >What are the strengths and weaknesses comparing the two languages ? Less type annotations, fewer guarantees, less compile performance as cons. |
April 29, 2021 Re: dlang vs crystal-language | ||||
---|---|---|---|---|
| ||||
Posted in reply to sighoya | What is the importance of type-annotations in which cases. |
April 30, 2021 Re: dlang vs crystal-language | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alain De Vos | On Thursday, 29 April 2021 at 22:47:08 UTC, Alain De Vos wrote: >What is the importance of type-annotations in which cases. Specifying invariants which becomes very important when refactoring code. @X @Y @Z makes code sometimes unreadable. You mean something like Sometimes there is a good reason Mostly for prototyping and obvious cases. But the most important point of that is to write faster, I wish the IDE would help for this instead of the compiler's inference. I even think D doesn't even profit very well for inferred types, you need anyway to specify auto which only saves work for large type(application)s. Instead, I want to point to some interesting solution C# offers to save typing and also being explicit about the type: In fact, one could imagine that they overload the new operator (at compiler level) to infer the type from the call site type annotation. |
April 30, 2021 Re: dlang vs crystal-language | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alain De Vos | On Wednesday, 28 April 2021 at 22:41:03 UTC, Alain De Vos wrote: >What are the strengths and weaknesses comparing the two languages ? Pros of Crystal
Cons of Crystal
I don't think I need to tell the pros & cons of D lang in it's own forum. |
April 30, 2021 Re: dlang vs crystal-language | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vinod K Chandran | tkd works perfectly. Which O.S. are you using ? I can guide. |