D is technically better than C++ in most features. (It has always lead C++. For example, among about 100 new feauters that C++11 brought, only 2 were not already in D. No C++ designer will ever admit this fact.) D is…
Exactly. It really was a happy accident. I talked about it here: https://dlang.org/blog/2016/06/29/programming-in-d-a-happy-a...
Mike Shah has been using D for teaching software engineering at Northeastern University and Yale. Here is his DLang playlist: https://www.youtube.com/playlist?list=PLvv0ScY6vfd9Fso-3cB4C...
All I need is another wave of motivation. I'm searching. :)
Author here... AMA.
Because Google saves us all.
It may not be a step function improvement but the difference is still night and day: Dreading one more line of C++ versus looking forward to many fun lines of D. I mean... Modules versus header files, 13 times faster…
That historically backwards: C++ has been catching up to D since C++11.
I see what you mean but array of bytes is something else in D: byte[].
D's string is not text by itself because it is an array of UTF-8 code units. However, we have this infamous feature called auto-decoding in the standard library that presents strings as unicode code points. On the other…
> unit tests printed some weird error I am not aware of a common issue like that but D has bugs. > Also importC isn't what you think it is That's contrary to my tests: I installed libplot on my system, 'import'ed its .h…
No. We had a very long discussion about safe-by-default on the forums but failed to reach a consensus. As I understand it, for safe-by-default to work, either all C libraries would have @trusted D bindings written, or…
> memory usage and binary size Don't forget the -betterC compiler switch please. ;)
I heard Discord may have negative posts as well but I find the official D newsgroups (with a forum interface) very friendly and clean. Minimal moderation seems to help there.
> how is D different I don't know Zig yet. I had an opinion long time ago that nobody should use C anymore; I would suggest C++ at least because it has constructors and templates. D's [Better…
It is definitely chewing on it. :) D's advantage over Rust is its familiar syntax and semantics. C, C++, Java, C#, Python, etc. programmers feel at home once they learn some differences. I heard others say "D is what…
AMA I am the speaker.
http://ddili.org/ders/d.en/index.html
Wonderful to see you here as well! :)
D is not popular but has a strong long-time following.
I don't know what code Walter is referring to but I had similar experiences during a presentation of the Boost Spirit library (at our Silicon Valley C++ Meeting; must be about a decade ago now). The speaker was proud…
D's templates has always been very strong and useful compared to C++'s. The following example is similar to C macros because it generates code as string and mixes it in as code but you can combine templates as well.…
Thanks for letting me know. This seems to be far from being adopted into C++, if at all, right? Is the C++ community behind this effort?
Yes, C++ has been catching up since C++11. One thing C++ will never have is D's `static if`, which allows injecting declarations into scopes. Bjarne Stroustrup and others closed that door:…
I've been in the D community since 2009. There is no schism.
D is technically better than C++ in most features. (It has always lead C++. For example, among about 100 new feauters that C++11 brought, only 2 were not already in D. No C++ designer will ever admit this fact.) D is…
Exactly. It really was a happy accident. I talked about it here: https://dlang.org/blog/2016/06/29/programming-in-d-a-happy-a...
Mike Shah has been using D for teaching software engineering at Northeastern University and Yale. Here is his DLang playlist: https://www.youtube.com/playlist?list=PLvv0ScY6vfd9Fso-3cB4C...
All I need is another wave of motivation. I'm searching. :)
Author here... AMA.
Because Google saves us all.
It may not be a step function improvement but the difference is still night and day: Dreading one more line of C++ versus looking forward to many fun lines of D. I mean... Modules versus header files, 13 times faster…
That historically backwards: C++ has been catching up to D since C++11.
I see what you mean but array of bytes is something else in D: byte[].
D's string is not text by itself because it is an array of UTF-8 code units. However, we have this infamous feature called auto-decoding in the standard library that presents strings as unicode code points. On the other…
> unit tests printed some weird error I am not aware of a common issue like that but D has bugs. > Also importC isn't what you think it is That's contrary to my tests: I installed libplot on my system, 'import'ed its .h…
No. We had a very long discussion about safe-by-default on the forums but failed to reach a consensus. As I understand it, for safe-by-default to work, either all C libraries would have @trusted D bindings written, or…
> memory usage and binary size Don't forget the -betterC compiler switch please. ;)
I heard Discord may have negative posts as well but I find the official D newsgroups (with a forum interface) very friendly and clean. Minimal moderation seems to help there.
> how is D different I don't know Zig yet. I had an opinion long time ago that nobody should use C anymore; I would suggest C++ at least because it has constructors and templates. D's [Better…
It is definitely chewing on it. :) D's advantage over Rust is its familiar syntax and semantics. C, C++, Java, C#, Python, etc. programmers feel at home once they learn some differences. I heard others say "D is what…
AMA I am the speaker.
http://ddili.org/ders/d.en/index.html
Wonderful to see you here as well! :)
D is not popular but has a strong long-time following.
I don't know what code Walter is referring to but I had similar experiences during a presentation of the Boost Spirit library (at our Silicon Valley C++ Meeting; must be about a decade ago now). The speaker was proud…
D's templates has always been very strong and useful compared to C++'s. The following example is similar to C macros because it generates code as string and mixes it in as code but you can combine templates as well.…
Thanks for letting me know. This seems to be far from being adopted into C++, if at all, right? Is the C++ community behind this effort?
Yes, C++ has been catching up since C++11. One thing C++ will never have is D's `static if`, which allows injecting declarations into scopes. Bjarne Stroustrup and others closed that door:…
I've been in the D community since 2009. There is no schism.