▲ | IshKebab 2 days ago | |||||||||||||||||||||||||
> You can use it, or not, and you can use the GC for some allocations, and use other methods for other allocations. Yes but people wanted a language where you can't use GC. > ??? "Which standard library should I use?" is not a question most languages have: https://stackoverflow.com/q/693672/265521 Surely... you were aware of this problem? Maybe I misunderstood the "???". > Don't underestimate the backing of a large and powerful organization. Yeah it definitely matters a lot. I don't think Go would have been remotely as successful as it has been without Google. But also we shouldn't overstate it. It definitely helped Rust to have Mozilla, but Mozilla isn't nearly as large and powerful as Google. The fact that it is an excellent language with generally fantastic ergonomics and first-of-its-kind practical memory safety without GC... probably more important. (Of course you could argue it wouldn't have got to that point without Mozilla.) | ||||||||||||||||||||||||||
▲ | destroycom 2 days ago | parent | next [-] | |||||||||||||||||||||||||
> "Which standard library should I use?" is not a question most languages have: > https://stackoverflow.com/q/693672/265521 There is no such question when using D2 either. It was only an issue with D1, which was discontinued almost 15 years ago and was irrelevant for longer. | ||||||||||||||||||||||||||
▲ | WalterBright 2 days ago | parent | prev | next [-] | |||||||||||||||||||||||||
> Yes but people wanted a language where you can't use GC. What do you think of C and C++ coming with extensive guides for best practices and what features to not use? Even so, D comes with an @nogc attribute which won't let you use the GC. Ironically, people complain that @nogc actually does not allow use of the GC. You can also use the -betterC compiler switch to not use the GC. Interestingly, Compile Time Function Execution works great with the GC, as one needn't have to do backflips to allocate some memory. Mozilla is orders of magnitude larger and more powerful than the D Language Foundation. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
▲ | fl0ki 2 days ago | parent | prev [-] | |||||||||||||||||||||||||
"The best thing about standard libraries is that there are so many to choose from" | ||||||||||||||||||||||||||
|