Status of std.container rewrite?

tastyminerals tastyminerals at gmail.com
Tue Jun 9 22:26:34 UTC 2020


On Tuesday, 9 June 2020 at 19:20:35 UTC, tsbockman wrote:
> On Monday, 8 June 2020 at 11:35:16 UTC, exo1 wrote:
>> Anyways, after spending more time with D, unfortunately, I 
>> have decided to move on to other languages. Apart from this 
>> issue, even after being in development for so many years, the 
>> editor support is worse than in many newer (or more or less 
>> same age) languages like Nim, Haxe etc. It does not support 
>> UFCs and many other language features, go to def does not work 
>> properly with overloads even though the stdlib is heavily 
>> based on overloading etc. The user experience is very poor. :(
>
> Yeah, sadly this may be the weakest part of the D ecosystem. 
> The lack of a up-to-date containers in the standard library 
> usually isn't a real problem, for all the reasons others 
> mentioned above (built in array slices and associative arrays 
> cover most needs, and third-party container libraries are 
> available). However, the IDE support really is quite poor - 
> partly because D is an unusually difficult language to get 
> something like auto-complete working properly for, and partly 
> because most people who really care about IDE support just 
> leave when they see how bad things are on that front, leaving 
> few people who care enough to maintain and improve what we do 
> have.
>
> (For example, I keep meaning to get involved with the 
> IntelliJ-DLanguage project, but I've just been too busy lately 
> to do much beyond submit a few bug reports. The deficiencies 
> are annoying to me, but not critical because the only thing I 
> really *need* from the IDE is the debugger, occasionally.)

To a degree yes. But I would stress that the weakest D part is 
the lack of libraries. Concretely, the lack of a few top-notch 
libraries that many other languages have.
Lua has Torch, which was discontinued in favor of PyTorch couple 
of years ago but ppl keep coming to Torch github asking questions 
even now. How many of them wouldn't even know about Lua if not 
for Torch? Scala has Akka, Spark and some other solid libs 
although the language is so much dense and harder to learn/use 
than D. Should I mention Python vs Ruby where the former had the 
momentum of batteries-included together with the right scientific 
focus to win over a superior and neat language like Ruby? It's 
all about the batteries included and unfortunately D is not there 
and probably will never be just because there is not enough 
people.


More information about the Digitalmars-d mailing list