Some impressions/notes from a new D programmer
Dennis
dkorpel at gmail.com
Wed Feb 12 11:46:02 UTC 2020
Thanks for your perspective. Just a few things are unclear to me:
On Wednesday, 12 February 2020 at 10:39:06 UTC, mark wrote:
> I don't find the presentation of the member properties and
> methods very easy to read
Can you elaborate a bit on this?
> The lack of set and B-tree types is disappointing (esp.
> considering that the much younger Rust has them). I'm using
> rbtree for sets but that imposes a requirement that my items
> support < (rather than the == or hash I'd expect for a set).
This confuses me. So there is std.container.rbtree, but you don't
like that the element type needs to have an order defined? How
can Rust do binary search in a tree that has no order?
If you are looking for a hashset, you can use an associative
array for that.
> However, dub doesn't seem to be competitive with Rust's cargo.
> Getting fast statically built (no dependency) executables is
> really nice.
I've heard good things about cargo, but haven't used it myself
yet.
Do you have a specific thing dub can improve the most on?
More information about the Digitalmars-d-learn
mailing list