Viewing profile — aldacron
aldacron
HN member- Joined
- Tue, Nov 14, 2017, 2:13 PM UTC
- HN karma
- 239
- Public activity
- 31 items
- HN profile
- View on Hacker News ↗
About aldacron
No profile information was provided.
Recent public activity
-
comment
Comment #27364755
> array concatenation with ~, associative and dynamic arrays as well Yes. Walter was referring to the operator itself. Strings are arrays. > as well as exceptions It's not exceptio…
-
comment
Comment #27358618
> Granted, this isn't optional GC, but does D really give you that? Don't you lose the entire ecosystem and stdlib with -asBetterC? -betterC is not the only way to avoid the GC in …
-
comment
Comment #27358170
Funkwerk, one of the first companies to adopt D back in 2008, switched their passenger information system from Java and C++ to D. They weren't just on the look out for something di…
-
comment
Comment #27105396
The answer to the first question is detailed in the HOPL IV paper, 'Origins of the D Programming Language', freely available here: https://dl.acm.org/doi/abs/10.1145/3386323
-
comment
Comment #27104545
Obviously I'm not Walter, but IMO, D's approach to GC does not create any tension. It's just a systems language with a GC that's there if you want to use it. You can disable it com…
-
comment
Comment #23866943
Anyone who doesn't already have a bash environment installed on Windows isn't the target of install.sh.
-
comment
Comment #23866918
Any bash environment on Windows will do. install.sh serves a specific use case for those who need it. It installs dmd in the user's home directory along with a script that enables/…
- story
- story
- story
-
comment
Comment #23019764
Not quite. I'm saying that in this case it doesn't matter because of the way the API is used. Is it confusing for people who don't understand D ranges? Yes, it certainly can be. It…
-
comment
Comment #23014826
And the "Returns:" section!
-
comment
Comment #23014810
D's classes and interfaces are much like Java's, so it's possible and easy to write functions that express return types like that. It's also quite restrictive for generic programmi…
-
comment
Comment #23014768
In the standard library, it's primarily in the range-based functions that you see this, where the type doesn't generally need to be known. And where you do see it, the documentatio…
-
comment
Comment #23014735
There's usually no reason to know the return type of any range-based function in D. It's not like auto is applied as a return type willy nilly. And anyone who understands D's range…
-
comment
Comment #23014697
It's not "littered" in the documentation for anyone who understands the basics of D's ranges. auto is the correct choice here. Range functions are lazy, meaning they are almost alw…
- story
-
comment
Comment #22859759
The forum post he linked to where he announced DustMite says it's inspired by Tigris Delta and lists some advantages: https://forum.dlang.org/post/op.vvsvhh1ptuzx1w@cybershadow.m..…
- story
- story
-
comment
Comment #22176130
> they claim that you can run D without a GC (the new), but apparently a good chunk of the stdlib requires the GC (the old), so you're stuck. The intent isn't to turn off the GC co…
- story
- story
- story
-
comment
Comment #21267323
Visual D is a plugin for Visual Studio, so no. Code-D is a plugin for VS Code, so it works anywhere VS Code does.