Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
acehreli
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
acehreli
2mo ago
Well, others might have said `i, s:` is not an independent label.
2.
▲
by
acehreli
2mo ago
We may first need to go over what "elegant" means I guess. :)
3.
▲
by
acehreli
1y ago
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 safer and more producti
4.
▲
by
acehreli
1y ago
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...
5.
▲
by
acehreli
1y ago
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...
6.
▲
by
acehreli
1y ago
All I need is another wave of motivation. I'm searching. :)
7.
▲
by
acehreli
1y ago
Author here... AMA.
8.
▲
by
acehreli
4y ago
Because Google saves us all.
9.
▲
by
acehreli
4y ago
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 compilation, introspect
10.
▲
by
acehreli
4y ago
That historically backwards: C++ has been catching up to D since C++11.
11.
▲
by
acehreli
4y ago
I see what you mean but array of bytes is something else in D: byte[].
12.
▲
by
acehreli
4y ago
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 hand, D's
13.
▲
by
acehreli
4y ago
> 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 i
14.
▲
by
acehreli
4y ago
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 all of them would have
15.
▲
by
acehreli
4y ago
> memory usage and binary size Don't forget the -betterC compiler switch please. ;)
16.
▲
by
acehreli
4y ago
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.
17.
▲
by
acehreli
4y ago
> 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 C]( https://dlang.org
18.
▲
by
acehreli
4y ago
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 C++ should ha
19.
▲
by
acehreli
4y ago
AMA I am the speaker.
20.
▲
by
acehreli
4y ago
http://ddili.org/ders/d.en/index.html
21.
▲
by
acehreli
4y ago
Wonderful to see you here as well! :)
22.
▲
by
acehreli
4y ago
D is not popular but has a strong long-time following.
23.
▲
by
acehreli
5y ago
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 and beaming for sh
24.
▲
by
acehreli
6y ago
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. This example g
25.
▲
by
acehreli
6y ago
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?
26.
▲
by
acehreli
6y ago
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: https://isocpp.org/files/
27.
▲
by
acehreli
6y ago
I've been in the D community since 2009. There is no schism.
28.
▲
by
acehreli
6y ago
I haven't worked for them for a few years now but it's still a "sweat equity" organization as described on the web page under "About" at https://millcomputing.com/ They consider investments for
29.
▲
by
acehreli
6y ago
That's patently wrong. :) I worked for the Mill for a while The Mill is as real as it gets. EDIT: No, there is no actual CPU but the software, the compiler, the simulator, etc. exist.
30.
▲
by
acehreli
6y ago
Go used one of the oldest sales tricks since day one. You sell all your shortcomings as merits. My imagination for fun: * We don't have templates. Hm. Let's bad mouth them. Let's say templates are too difficult. Agreed. * We
More ›