Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aldacron
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
aldacron
5y ago
> 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 exceptions themselves, but the `new` operator. It directl
2.
▲
by
aldacron
5y ago
> 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 D, just the most extreme. The original motivati
3.
▲
by
aldacron
5y ago
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 different. They had a real problem to solve, tried out a
4.
▲
by
aldacron
5y ago
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
5.
▲
by
aldacron
5y ago
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 completely or only where you need to. Yes,
6.
▲
by
aldacron
6y ago
Anyone who doesn't already have a bash environment installed on Windows isn't the target of install.sh.
7.
▲
by
aldacron
6y ago
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/disables that specific version in the environment,
8.
▲
A Pattern for Head-mutable Structures in D
(dlang.org)
12 points
by
aldacron
6y ago
|
3 comments
9.
▲
A Look at Chapel, D, and Julia Using Kernel Matrix Calculations
(dlang.org)
27 points
by
aldacron
6y ago
|
2 comments
10.
▲
Lomuto's Comeback (Lomuto vs. Hoare Partitioning)
(dlang.org)
21 points
by
aldacron
6y ago
|
0 comments
11.
▲
by
aldacron
6y ago
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 was for me when ranges first came along. B
12.
▲
by
aldacron
6y ago
And the "Returns:" section!
13.
▲
by
aldacron
6y ago
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 programming. D's metaprogramming features ar
14.
▲
by
aldacron
6y ago
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 documentation will describe what the function returns more acc
15.
▲
by
aldacron
6y ago
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 ranges and how they are used should have no proble
16.
▲
by
aldacron
6y ago
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 always used in a chain of function calls th
17.
▲
Interfacing D with C: Arrays and Functions
(dlang.org)
9 points
by
aldacron
6y ago
|
0 comments
18.
▲
by
aldacron
6y ago
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...
19.
▲
DustMite: A General-Purpose Data Reduction Tool
(dlang.org)
66 points
by
aldacron
6y ago
|
6 comments
20.
▲
DConf 2020 Call for Submissions and Early-Bird Registration
(dlang.org)
3 points
by
aldacron
7y ago
|
0 comments
21.
▲
by
aldacron
7y ago
> 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 completely (though GC-averse folks assume that it
22.
▲
Wc in D: 712 Characters Without a Single Branch
(dlang.org)
132 points
by
aldacron
7y ago
|
85 comments
23.
▲
D for Data Science: Calling R from D
(dlang.org)
72 points
by
aldacron
7y ago
|
22 comments
24.
▲
by
aldacron
7y ago
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.
25.
▲
DPP: Include C and C++ headers in your D source
(dlang.org)
4 points
by
aldacron
7y ago
|
0 comments
26.
▲
by
aldacron
8y ago
It's actually rather cheap, given the venue.
27.
▲
by
aldacron
8y ago
Aside from keeping the conversations going, keeping lunch on the premises makes it easier to round everyone up after and decreases the likelihood that people are disruptive by streaming in after the post-lunch talk starts. And it's pre
28.
▲
Using D to Create the World’s Fastest File System
(dlang.org)
250 points
by
aldacron
8y ago
|
161 comments
29.
▲
DConf 2018 Munich Registration Open
(forum.dlang.org)
2 points
by
aldacron
9y ago
|
0 comments
30.
▲
DConf 2018 Call for submissions and Andrei Alexandrescu interview
(dlang.org)
14 points
by
aldacron
9y ago
|
0 comments
More ›